diff options
author | Michael Mann <mmann78@netscape.net> | 2015-02-08 16:36:07 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-02-09 03:48:53 +0000 |
commit | 2875cd382fdc0efd5d949f674a0328ecf918b7e9 (patch) | |
tree | 82d03e2b9ed1288dce651d3f1df3f930677f1fe4 /epan/dissectors/packet-maccontrol.c | |
parent | 2042385ac9eaa7e512b1a0b9af2f916324314e63 (diff) |
Eliminate the hf member out of the address structure.
Using the new address type registration, dissectors can create their own address types with their own (column) filters attached to them, eliminating the need for an address to keep track of a hf_ field.
Change-Id: I2bbec256a056f403a7ac9880d5d76a0b2a21b221
Ping-Bug: 7728
Reviewed-on: https://code.wireshark.org/review/7037
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-maccontrol.c')
-rw-r--r-- | epan/dissectors/packet-maccontrol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-maccontrol.c b/epan/dissectors/packet-maccontrol.c index 9adb05fdc2..7f03b50c8b 100644 --- a/epan/dissectors/packet-maccontrol.c +++ b/epan/dissectors/packet-maccontrol.c @@ -127,7 +127,7 @@ static const value_string reg_flags_vals[] = { }; static const guint8 dst_addr[] = {0x01, 0x80, 0xC2, 0x00, 0x00, 0x01}; -static const address macctrl_dst_address = { AT_ETHER, -1, 6, dst_addr}; +static const address macctrl_dst_address = { AT_ETHER, 6, dst_addr}; static void dissect_macctrl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) |