aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-lisp.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-05-04 02:20:59 +0000
committerMichael Mann <mmann78@netscape.net>2013-05-04 02:20:59 +0000
commite5fe6b1dca4b1f430d5076a9b0fba51d1c4b0827 (patch)
treee8332b7d6ddd0685d078b43b32507edc7e4b89dd /epan/dissectors/packet-lisp.c
parentd9077264d62f32d2fb8cb005e6eb8d1af679ba31 (diff)
LISP control packet incorrectly identified as LISP data based when UDP source port is 4341. Bug 8627 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8627)
Also did some minor cleanup/improvements while I was there. svn path=/trunk/; revision=49154
Diffstat (limited to 'epan/dissectors/packet-lisp.c')
-rw-r--r--epan/dissectors/packet-lisp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-lisp.c b/epan/dissectors/packet-lisp.c
index cee675bb39..083ccc332c 100644
--- a/epan/dissectors/packet-lisp.c
+++ b/epan/dissectors/packet-lisp.c
@@ -1976,6 +1976,9 @@ proto_register_lisp(void)
/* Required function calls to register the header fields and subtrees used */
proto_register_field_array(proto_lisp, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
+
+ /* Register dissector so that other dissectors can call it */
+ new_register_dissector("lisp", dissect_lisp, proto_lisp);
}