Add what appear to be missing breaks in two cases of a switch () {...}.

svn path=/trunk/; revision=30119
This commit is contained in:
Bill Meier 2009-09-24 19:01:42 +00:00
parent 263a93b9f3
commit bc2f7b7b8b
1 changed files with 2 additions and 0 deletions

View File

@ -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);