aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-nat-pmp.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-03-03 22:02:17 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-03-03 22:02:17 +0000
commita7cd163767e1a30e8eaee73f57173f4def799978 (patch)
treeed1483cb97b99d728596a1acd1c1c291b0a1d861 /epan/dissectors/packet-nat-pmp.c
parent6ae19daf4a42cf8a8a9afe05351f25c3544d46f8 (diff)
Moved the dissector_handle_t.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27596 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-nat-pmp.c')
-rw-r--r--epan/dissectors/packet-nat-pmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-nat-pmp.c b/epan/dissectors/packet-nat-pmp.c
index 61340b5bda..a5c820d63b 100644
--- a/epan/dissectors/packet-nat-pmp.c
+++ b/epan/dissectors/packet-nat-pmp.c
@@ -64,8 +64,6 @@ static int hf_pmlis = -1;
static gint ett_nat_pmp = -1;
-static dissector_handle_t nat_pmp_handle = NULL;
-
static const value_string opcode_vals[] = {
{ EXTERNAL_ADDRESS_REQUEST, "External Address Request" },
{ EXTERNAL_ADDRESS_RESPONSE, "External Address Response" },
@@ -221,6 +219,8 @@ void proto_register_nat_pmp (void)
void proto_reg_handoff_nat_pmp (void)
{
+ dissector_handle_t nat_pmp_handle;
+
nat_pmp_handle = find_dissector (PFNAME);
dissector_add ("udp.port", NAT_PMP_STATUS_PORT, nat_pmp_handle);
dissector_add ("udp.port", NAT_PMP_PORT, nat_pmp_handle);