aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-etheric.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2008-09-11 14:07:02 +0000
committerBill Meier <wmeier@newsguy.com>2008-09-11 14:07:02 +0000
commit802f4452b4a3f6220740f65e4502fc6e32000d38 (patch)
tree1871cfde9a7d01ff818cefd36c1ec9dc11dab803 /epan/dissectors/packet-etheric.c
parentba292329e05703e5bdbc7fdcc8346a11dc1d8133 (diff)
Minor cleanup related to proto_reg_handoff ....
svn path=/trunk/; revision=26176
Diffstat (limited to 'epan/dissectors/packet-etheric.c')
-rw-r--r--epan/dissectors/packet-etheric.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/epan/dissectors/packet-etheric.c b/epan/dissectors/packet-etheric.c
index b91bae727f..6d98cf09db 100644
--- a/epan/dissectors/packet-etheric.c
+++ b/epan/dissectors/packet-etheric.c
@@ -99,7 +99,7 @@ static gint ett_etheric_circuit_state_ind = -1;
static guint ethericTCPport1 =1806;
static guint ethericTCPport2 =10002;
-static dissector_handle_t q931_ie_handle = NULL;
+static dissector_handle_t q931_ie_handle;
/* Value strings */
static const value_string protocol_version_vals[] = {
{ 0x00, "Etheric 1.0" },
@@ -1006,9 +1006,8 @@ void
proto_reg_handoff_etheric(void)
{
static dissector_handle_t etheric_handle;
-
- static int tcp_port1 = 1806;
- static int tcp_port2 = 10002;
+ static int tcp_port1;
+ static int tcp_port2;
static gboolean Initialized=FALSE;
if (!Initialized) {