diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-10-30 07:47:50 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-10-30 07:47:50 +0000 |
commit | bbd6db0f46a589c6d4c02c03806221ca4af9dda8 (patch) | |
tree | ccf60eae8fa8dd283a5dd73f8cfb616a814326f1 /epan/dissectors/packet-fw1.c | |
parent | 6c1c5fc3e7310fc7f12bac4e8bc1e4a094cd6f0d (diff) |
The interface name field is 6 bytes if we *do* have UUID information in
the file and 10 bytes if we *don't*.
Small language edits in preference text and blurb.
svn path=/trunk/; revision=12440
Diffstat (limited to 'epan/dissectors/packet-fw1.c')
-rw-r--r-- | epan/dissectors/packet-fw1.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-fw1.c b/epan/dissectors/packet-fw1.c index 12d2422833..9826def02e 100644 --- a/epan/dissectors/packet-fw1.c +++ b/epan/dissectors/packet-fw1.c @@ -164,10 +164,10 @@ dissect_fw1(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) chain[1] = 0; if (!fw1_with_uuid) { - tvb_get_nstringz0(tvb, 2, 6, interface_name); + tvb_get_nstringz0(tvb, 2, 10, interface_name); uuid = 0; } else { - tvb_get_nstringz0(tvb, 2, sizeof interface_name, interface_name); + tvb_get_nstringz0(tvb, 2, 6, interface_name); uuid = tvb_get_ntohl(tvb, 8); } @@ -277,12 +277,12 @@ proto_register_fw1(void) "Whether the FireWall-1 summary line should be shown in the protocol tree", &fw1_summary_in_tree); prefs_register_bool_preference(fw1_module, "with_uuid", - "fw monitor file includes UUID", - "Whether the fw monitor file includes information of UUID", + "Monitor file includes UUID", + "Whether the Firewall-1 monitor file includes UUID information", &fw1_with_uuid); prefs_register_bool_preference(fw1_module, "iflist_with_chain", - "Interface list with chain position", - "Whether the interface list includes chain position", + "Interface list includes chain position", + "Whether the interface list includes the chain position", &fw1_iflist_with_chain); register_dissector("fw1", dissect_fw1, proto_fw1); |