diff options
author | Guy Harris <guy@alum.mit.edu> | 2006-09-21 17:41:47 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2006-09-21 17:41:47 +0000 |
commit | 2b56ab8695b140034d42eadc26338c8190aa191e (patch) | |
tree | 5e5ca2b82060b834193d3e05d80f3e5ccf864710 /epan/dissectors/packet-bootp.c | |
parent | 2ac876197887a5db0fb5e927ea4e988f1a2c56f8 (diff) | |
download | wireshark-2b56ab8695b140034d42eadc26338c8190aa191e.tar.gz wireshark-2b56ab8695b140034d42eadc26338c8190aa191e.tar.bz2 wireshark-2b56ab8695b140034d42eadc26338c8190aa191e.zip |
Fix the handling of IPv4-address and Boolean suboptions of the Novell
options item.
svn path=/trunk/; revision=19273
Diffstat (limited to 'epan/dissectors/packet-bootp.c')
-rw-r--r-- | epan/dissectors/packet-bootp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-bootp.c b/epan/dissectors/packet-bootp.c index 427af37a97..65dee5590b 100644 --- a/epan/dissectors/packet-bootp.c +++ b/epan/dissectors/packet-bootp.c @@ -1834,7 +1834,7 @@ dissect_netware_ip_suboption(proto_tree *v_tree, tvbuff_t *tvb, "Suboption %d: %s = %s" , subopt, o63_opt[subopt].text, ip_to_str(tvb_get_ptr(tvb, suboptoff, 4))); - suboptoff += 6; + suboptoff += 4; break; case ipv4_list: @@ -1883,15 +1883,15 @@ dissect_netware_ip_suboption(proto_tree *v_tree, tvbuff_t *tvb, i = tvb_get_guint8(tvb, suboptoff); if (i != 0 && i != 1) { proto_tree_add_text(v_tree, tvb, optoff, 3, - "Subption %d: %s = Invalid Value %d", + "Suboption %d: %s = Invalid Value %d", subopt, o63_opt[subopt].text, i); } else { proto_tree_add_text(v_tree, tvb, optoff, 3, - "Subption %d: %s = %s", subopt, + "Suboption %d: %s = %s", subopt, o63_opt[subopt].text, i == 0 ? tfs->false_string : tfs->true_string); } - suboptoff += 3; + suboptoff += 1; break; case val_u_byte: |