aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bjnp.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-03-03 22:06:11 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-03-03 22:06:11 +0000
commit380824eab66b873de7544b8ec2cac0ae3b1dc117 (patch)
tree8e5dc50e7324b290b79cb6271506d32a359c16db /epan/dissectors/packet-bjnp.c
parentcf72a4e32dc6e71c6f12f86f11eef5ebd79c106d (diff)
Moved the dissector_handle_t.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27598 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-bjnp.c')
-rw-r--r--epan/dissectors/packet-bjnp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-bjnp.c b/epan/dissectors/packet-bjnp.c
index 727ecc5c32..f3c823568c 100644
--- a/epan/dissectors/packet-bjnp.c
+++ b/epan/dissectors/packet-bjnp.c
@@ -66,8 +66,6 @@ static int hf_payload = -1;
static gint ett_bjnp = -1;
-static dissector_handle_t bjnp_handle = NULL;
-
static const value_string dev_type_vals[] = {
{ PRINTER_COMMAND, "Printer Command" },
{ SCANNER_COMMAND, "Scanner Command" },
@@ -182,6 +180,8 @@ void proto_register_bjnp (void)
void proto_reg_handoff_bjnp (void)
{
+ dissector_handle_t bjnp_handle;
+
bjnp_handle = find_dissector (PFNAME);
dissector_add ("udp.port", BJNP_PORT1, bjnp_handle);
dissector_add ("udp.port", BJNP_PORT2, bjnp_handle);