diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:33 +0000 |
commit | 9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9 (patch) | |
tree | 2784370cda9bbf2da9114d70f05399c0b229d28c /epan/dissectors/packet-lapbether.c | |
parent | Adding debian version 4.2.6-1. (diff) | |
download | wireshark-9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9.tar.xz wireshark-9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9.zip |
Merging upstream version 4.4.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/packet-lapbether.c')
-rw-r--r-- | epan/dissectors/packet-lapbether.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-lapbether.c b/epan/dissectors/packet-lapbether.c index 7e6471c5..41762a23 100644 --- a/epan/dissectors/packet-lapbether.c +++ b/epan/dissectors/packet-lapbether.c @@ -18,11 +18,11 @@ void proto_register_lapbether(void); void proto_reg_handoff_lapbether(void); -static int proto_lapbether = -1; +static int proto_lapbether; -static int hf_lapbether_length = -1; +static int hf_lapbether_length; -static gint ett_lapbether = -1; +static int ett_lapbether; static dissector_handle_t lapbether_handle; static dissector_handle_t lapb_handle; @@ -37,7 +37,7 @@ dissect_lapbether(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* dat col_set_str(pinfo->cinfo, COL_PROTOCOL, "LAPBETHER"); col_clear(pinfo->cinfo, COL_INFO); - len = tvb_get_guint8(tvb, 0) + tvb_get_guint8(tvb, 1) * 256; + len = tvb_get_uint8(tvb, 0) + tvb_get_uint8(tvb, 1) * 256; if (tree) { @@ -65,7 +65,7 @@ proto_register_lapbether(void) "LAPBEther Length Field", HFILL }}, }; - static gint *ett[] = { + static int *ett[] = { &ett_lapbether, }; |