VXLAN: Fix flag bitmasks

Fix bitmask for flags bits 0-2.

Change-Id: Id7c42a79f0524eae103a586a16b89ccecf031d6f
Reviewed-on: https://code.wireshark.org/review/4982
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Alex Tessmer 2014-10-29 01:57:17 -07:00 committed by Anders Broman
parent b8df9343aa
commit 79f878fc64
1 changed files with 3 additions and 3 deletions

View File

@ -159,19 +159,19 @@ proto_register_vxlan(void)
},
{ &hf_vxlan_flag_b2,
{ "Reserved(R)", "vxlan.flag_b2",
FT_BOOLEAN, 8, NULL, 0x10,
FT_BOOLEAN, 8, NULL, 0x04,
NULL, HFILL,
},
},
{ &hf_vxlan_flag_b1,
{ "Reserved(R)", "vxlan.flag_b1",
FT_BOOLEAN, 8, NULL, 0x10,
FT_BOOLEAN, 8, NULL, 0x02,
NULL, HFILL,
},
},
{ &hf_vxlan_flag_b0,
{ "Reserved(R)", "vxlan.flag_b0",
FT_BOOLEAN, 8, NULL, 0x10,
FT_BOOLEAN, 8, NULL, 0x01,
NULL, HFILL,
},
},