diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-09-24 19:01:42 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-09-24 19:01:42 +0000 |
commit | 3ea3c36add8e1bbd40f1fbda93b6ce38536f0886 (patch) | |
tree | 11745a096233f0e5bc78eed406689924dc2d5792 | |
parent | 98b1666e20636dcfdc8f743788106390069a76f7 (diff) |
Add what appear to be missing breaks in two cases of a switch () {...}.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30119 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r-- | epan/dissectors/packet-bootp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-bootp.c b/epan/dissectors/packet-bootp.c index 396de3ea76..e5e5543407 100644 --- a/epan/dissectors/packet-bootp.c +++ b/epan/dissectors/packet-bootp.c @@ -1898,10 +1898,12 @@ bootp_dhcp_decode_agent_info(proto_tree *v_tree, tvbuff_t *tvb, int optoff, proto_tree_add_text(v_tree, tvb, optoff, subopt_len + 2, "RADIUS Attributes: %s", tvb_bytes_to_str(tvb, suboptoff, subopt_len)); + break; /* XXX: Added since code seems incorrect otherwise ... */ case 8: /* 8 Authentication Suboption [RFC4030] */ proto_tree_add_text(v_tree, tvb, optoff, subopt_len + 2, "Authentication: %s", tvb_bytes_to_str(tvb, suboptoff, subopt_len)); + break; /* XXX: Added since code seems incorrect otherwise ... */ case 9: while (suboptoff < optend) { enterprise = tvb_get_ntohl(tvb, suboptoff); |