aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mpls.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2017-04-17 08:52:57 -0400
committerMartin Kaiser <wireshark@kaiser.cx>2017-04-17 20:22:45 +0000
commit2273cf0e7b2dedc20430594a4ee840d640203ab3 (patch)
treebb0da493cb545c590fa329fd1c9b6fefe94f3ecb /epan/dissectors/packet-mpls.c
parent25382fd638a7152d0262b994b1b1b38e9e1ae283 (diff)
packet-nsh.c: Create dissector table for next protocol
Change-Id: Id8be2a37f99f4ac9d531a694273c7d5d3f843cc1 Reviewed-on: https://code.wireshark.org/review/21163 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Diffstat (limited to 'epan/dissectors/packet-mpls.c')
-rw-r--r--epan/dissectors/packet-mpls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-mpls.c b/epan/dissectors/packet-mpls.c
index 4ea63e589e..bfe167fa0e 100644
--- a/epan/dissectors/packet-mpls.c
+++ b/epan/dissectors/packet-mpls.c
@@ -68,6 +68,7 @@
#include "packet-sflow.h"
#include "packet-l2tp.h"
#include "packet-vxlan.h"
+#include "packet-nsh.h"
void proto_register_mpls(void);
void proto_reg_handoff_mpls(void);
@@ -687,6 +688,7 @@ proto_reg_handoff_mpls(void)
dissector_add_uint("l2tp.pw_type", L2TPv3_PROTOCOL_MPLS, mpls_handle);
dissector_add_uint_with_preference("udp.port", UDP_PORT_MPLS_OVER_UDP, mpls_handle);
dissector_add_uint("vxlan.next_proto", VXLAN_MPLS, mpls_handle);
+ dissector_add_uint("nsh.next_proto", NSH_MPLS, mpls_handle);
dissector_add_uint( "mpls.label", MPLS_LABEL_INVALID, mpls_pwcw_handle );