summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ascend.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:53 +0000
commita86c5f7cae7ec9a3398300555a0b644689d946a1 (patch)
tree39fe4b107c71174fd1e8a8ceb9a4d2aa14116248 /epan/dissectors/packet-ascend.c
parentReleasing progress-linux version 4.2.6-1~progress7.99u1. (diff)
downloadwireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.tar.xz
wireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.zip
Merging upstream version 4.4.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--epan/dissectors/packet-ascend.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/epan/dissectors/packet-ascend.c b/epan/dissectors/packet-ascend.c
index ed683dd5..96d861b0 100644
--- a/epan/dissectors/packet-ascend.c
+++ b/epan/dissectors/packet-ascend.c
@@ -15,15 +15,15 @@
void proto_register_ascend(void);
void proto_reg_handoff_ascend(void);
-static int proto_ascend = -1;
-static int hf_link_type = -1;
-static int hf_session_id = -1;
-static int hf_called_number = -1;
-static int hf_chunk = -1;
-static int hf_task = -1;
-static int hf_user_name = -1;
+static int proto_ascend;
+static int hf_link_type;
+static int hf_session_id;
+static int hf_called_number;
+static int hf_chunk;
+static int hf_task;
+static int hf_user_name;
-static gint ett_raw = -1;
+static int ett_raw;
static const value_string encaps_vals[] = {
{ASCEND_PFX_WDS_X, "PPP Transmit" },
@@ -114,12 +114,12 @@ dissect_ascend(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _
call_dissector(eth_withoutfcs_handle, tvb, pinfo, tree);
break;
case ASCEND_PFX_ISDN_X:
- isdn.uton = TRUE;
+ isdn.uton = true;
isdn.channel = 0;
call_dissector_with_data(lapd_phdr_handle, tvb, pinfo, tree, &isdn);
break;
case ASCEND_PFX_ISDN_R:
- isdn.uton = FALSE;
+ isdn.uton = false;
isdn.channel = 0;
call_dissector_with_data(lapd_phdr_handle, tvb, pinfo, tree, &isdn);
break;
@@ -157,7 +157,7 @@ proto_register_ascend(void)
{ "User name", "ascend.user", FT_STRING, BASE_NONE, NULL, 0x0,
NULL, HFILL }},
};
- static gint *ett[] = {
+ static int *ett[] = {
&ett_raw,
};