aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-igmp.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-07-08 22:11:13 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-07-08 22:11:13 +0000
commit2c30357c483da1238bfd45455272db93a2ec65c9 (patch)
treec7f025f042af2c3d960b0a9194442ab8ac8e93f0 /epan/dissectors/packet-igmp.c
parent6b0815ee9cf23c43525c26814bf81a934e0120f2 (diff)
checksum messages: use "[correct]" instead of "(correct)" and other "alike" messages
svn path=/trunk/; revision=14880
Diffstat (limited to 'epan/dissectors/packet-igmp.c')
-rw-r--r--epan/dissectors/packet-igmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-igmp.c b/epan/dissectors/packet-igmp.c
index 4b5167c681..4f32440c7b 100644
--- a/epan/dissectors/packet-igmp.c
+++ b/epan/dissectors/packet-igmp.c
@@ -340,13 +340,13 @@ void igmp_checksum(proto_tree *tree, tvbuff_t *tvb, int hf_index,
if (cksum == 0) {
proto_tree_add_uint_format(tree, hf_index,
tvb, 2, 2, hdrcksum,
- "Header checksum: 0x%04x (correct)", hdrcksum);
+ "Header checksum: 0x%04x [correct]", hdrcksum);
} else {
proto_tree_add_boolean_hidden(tree, hf_index_bad,
tvb, 2, 2, TRUE);
proto_tree_add_uint_format(tree, hf_index,
tvb, 2, 2, hdrcksum,
- "Header checksum: 0x%04x (incorrect, should be 0x%04x)", hdrcksum,in_cksum_shouldbe(hdrcksum,cksum));
+ "Header checksum: 0x%04x [incorrect, should be 0x%04x]", hdrcksum,in_cksum_shouldbe(hdrcksum,cksum));
}
} else
proto_tree_add_uint(tree, hf_index, tvb, 2, 2, hdrcksum);