aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bat-gw.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2008-09-26 20:06:40 +0000
committerBill Meier <wmeier@newsguy.com>2008-09-26 20:06:40 +0000
commitffa7320de25b5bcb606b76a3cfd33bae52a2eab4 (patch)
treed66f6adcd622b89f5972d7caefee9cb897772f21 /epan/dissectors/packet-bat-gw.c
parenta14b7b5264bb5f0f3f3784d1bd667675e7443447 (diff)
Minor cleanup related to proto_register & proto_reg_handoff
svn path=/trunk/; revision=26280
Diffstat (limited to 'epan/dissectors/packet-bat-gw.c')
-rw-r--r--epan/dissectors/packet-bat-gw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bat-gw.c b/epan/dissectors/packet-bat-gw.c
index e8ef43c4a0..bd98bdcebe 100644
--- a/epan/dissectors/packet-bat-gw.c
+++ b/epan/dissectors/packet-bat-gw.c
@@ -35,7 +35,6 @@ static int hf_bat_gw_type = -1;
static int hf_bat_gw_ip = -1;
static guint global_bat_gw_udp_port = BAT_GW_PORT;
-static guint udp_port = 0;
static void dissect_bat_gw(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
@@ -81,6 +80,7 @@ void reg_handoff_bat_gw(void)
{
static gboolean inited = FALSE;
static dissector_handle_t gw_handle;
+ static guint udp_port;
if (!inited) {
gw_handle = create_dissector_handle(dissect_bat_gw, proto_bat_plugin);