aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2016-12-29 22:59:13 +0100
committerMichael Mann <mmann78@netscape.net>2016-12-30 04:53:42 +0000
commit931253800adff149f34cc6d2ed082801edc2d3c8 (patch)
tree7593f046f44d15ef3af300000fccd03a64252b3a /epan
parentbd9d8b79b77b23bffdf1ad52388b187f09fe9760 (diff)
UDLD: Use correct flag bits
Assigned flag bits are the least significant bits of the flags field, not at the most significant end. Bug: 13280 Change-Id: Ie568df6ca137c491fedb32cf2316a0240270b3d6 Reviewed-on: https://code.wireshark.org/review/19463 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-udld.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-udld.c b/epan/dissectors/packet-udld.c
index aa0fc91c11..5a0a0b2031 100644
--- a/epan/dissectors/packet-udld.c
+++ b/epan/dissectors/packet-udld.c
@@ -245,11 +245,11 @@ proto_register_udld(void)
NULL, HFILL }},
{ &hf_udld_flags_rt,
- { "Recommended timeout", "udld.flags.rt", FT_UINT8, BASE_HEX, NULL, 0x80,
+ { "Recommended timeout", "udld.flags.rt", FT_UINT8, BASE_HEX, NULL, 0x01,
NULL, HFILL }},
{ &hf_udld_flags_rsy,
- { "ReSynch", "udld.flags.rsy", FT_UINT8, BASE_HEX, NULL, 0x40,
+ { "ReSynch", "udld.flags.rsy", FT_UINT8, BASE_HEX, NULL, 0x02,
NULL, HFILL }},
{ &hf_udld_checksum,