diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-06-02 20:52:13 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-06-02 20:52:13 +0000 |
commit | e596bdd4b0bb9c0d7a6f97185fc0454ca43305bd (patch) | |
tree | 22e7cd37a3755ffac08eb657c30528f05bbe4560 | |
parent | 7b55c0c75bd77f89155400ef855411dc0ed841d1 (diff) |
use [] not () brackets to indicate [correct] UDP checksum, as this is a generated field
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14530 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r-- | epan/dissectors/packet-udp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-udp.c b/epan/dissectors/packet-udp.c index 462ad15850..afd5661467 100644 --- a/epan/dissectors/packet-udp.c +++ b/epan/dissectors/packet-udp.c @@ -257,13 +257,13 @@ dissect_udp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) computed_cksum = in_cksum(&cksum_vec[0], 4); if (computed_cksum == 0) { proto_tree_add_uint_format(udp_tree, hf_udp_checksum, tvb, - offset + 6, 2, udph->uh_sum, "Checksum: 0x%04x (correct)", udph->uh_sum); + offset + 6, 2, udph->uh_sum, "Checksum: 0x%04x [correct]", udph->uh_sum); } else { proto_tree_add_boolean_hidden(udp_tree, hf_udp_checksum_bad, tvb, offset + 6, 2, TRUE); proto_tree_add_uint_format(udp_tree, hf_udp_checksum, tvb, offset + 6, 2, udph->uh_sum, - "Checksum: 0x%04x (incorrect, should be 0x%04x)", udph->uh_sum, + "Checksum: 0x%04x [incorrect, should be 0x%04x]", udph->uh_sum, in_cksum_shouldbe(udph->uh_sum, computed_cksum)); } } else { |