summaryrefslogtreecommitdiffstats
path: root/src/isi-pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/isi-pipe.c')
-rw-r--r--src/isi-pipe.c39
1 files changed, 20 insertions, 19 deletions
diff --git a/src/isi-pipe.c b/src/isi-pipe.c
index 7845e5e..b0171fc 100644
--- a/src/isi-pipe.c
+++ b/src/isi-pipe.c
@@ -24,6 +24,7 @@
#include <glib.h>
#include <epan/prefs.h>
#include <epan/packet.h>
+#include <epan/expert.h>
#include "packet-isi.h"
#include "isi-pipe.h"
@@ -137,24 +138,24 @@ static const value_string isi_pipe_error[] = {
static dissector_handle_t isi_pipe_handle;
static void dissect_isi_pipe(tvbuff_t *tvb, packet_info *pinfo, proto_item *tree);
-static guint32 hf_isi_pipe_cmd = -1;
-static guint32 hf_isi_pipe_subblock_type = -1;
-static guint32 hf_isi_pipe_pipe_state_after = -1;
-static guint32 hf_isi_pipe_pep_state_after = -1;
-static guint32 hf_isi_pipe_priority = -1;
-static guint32 hf_isi_pipe_first_pep_dev = -1;
-static guint32 hf_isi_pipe_first_pep_obj = -1;
-static guint32 hf_isi_pipe_first_pep_type = -1;
-static guint32 hf_isi_pipe_second_pep_dev = -1;
-static guint32 hf_isi_pipe_second_pep_obj = -1;
-static guint32 hf_isi_pipe_second_pep_type = -1;
-static guint32 hf_isi_pipe_handle = -1;
-static guint32 hf_isi_pipe_error = -1;
-static guint32 hf_isi_pipe_pep1_error = -1;
-static guint32 hf_isi_pipe_pep2_error = -1;
-static guint32 hf_isi_pipe_other_pep_type = -1;
-static guint32 hf_isi_pipe_pep_type = -1;
-static guint32 hf_isi_pipe_indication_id = -1;
+static gint32 hf_isi_pipe_cmd = -1;
+static gint32 hf_isi_pipe_subblock_type = -1;
+static gint32 hf_isi_pipe_pipe_state_after = -1;
+static gint32 hf_isi_pipe_pep_state_after = -1;
+static gint32 hf_isi_pipe_priority = -1;
+static gint32 hf_isi_pipe_first_pep_dev = -1;
+static gint32 hf_isi_pipe_first_pep_obj = -1;
+static gint32 hf_isi_pipe_first_pep_type = -1;
+static gint32 hf_isi_pipe_second_pep_dev = -1;
+static gint32 hf_isi_pipe_second_pep_obj = -1;
+static gint32 hf_isi_pipe_second_pep_type = -1;
+static gint32 hf_isi_pipe_handle = -1;
+static gint32 hf_isi_pipe_error = -1;
+static gint32 hf_isi_pipe_pep1_error = -1;
+static gint32 hf_isi_pipe_pep2_error = -1;
+static gint32 hf_isi_pipe_other_pep_type = -1;
+static gint32 hf_isi_pipe_pep_type = -1;
+static gint32 hf_isi_pipe_indication_id = -1;
void proto_reg_handoff_isi_pipe(void) {
static gboolean initialized=FALSE;
@@ -227,7 +228,7 @@ static void dissect_isi_pipe_subblock(guint8 sptype, tvbuff_t *tvb, packet_info
static void dissect_isi_pipe(tvbuff_t *tvb, packet_info *pinfo, proto_item *isitree) {
proto_item *item = NULL;
proto_tree *tree = NULL;
- guint8 cmd, code;
+ guint8 cmd;
if(isitree) {
item = proto_tree_add_text(isitree, tvb, 0, -1, "Payload");