aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2009-09-24 19:01:42 +0000
committerBill Meier <wmeier@newsguy.com>2009-09-24 19:01:42 +0000
commitbc2f7b7b8b570aa3e11f19501bad1461b03912ab (patch)
tree11745a096233f0e5bc78eed406689924dc2d5792 /epan/dissectors
parent263a93b9f34c5ca7d6542ec1d09ab78a3e59e12f (diff)
Add what appear to be missing breaks in two cases of a switch () {...}.
svn path=/trunk/; revision=30119
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-bootp.c2
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);