aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mplstp-oam.c
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2016-10-31 08:27:14 +0100
committerMichael Mann <mmann78@netscape.net>2016-10-31 11:38:55 +0000
commitd7e874c5d05b353cece337c72fddafde466a321e (patch)
tree7ad86df6acded25cb288a58fa5f9644fae567e67 /epan/dissectors/packet-mplstp-oam.c
parentb61cfd7ec17f9646ceecadddbe2b79dcfb72cb96 (diff)
PW_ACH: Use proper symbolic names
Collect all used PW Associated Channel Types and use them in the subdissector table registrations. Change-Id: I5d196bceefdb4560b1f4388ff86898e316e5e2ae Reviewed-on: https://code.wireshark.org/review/18590 Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl> Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-mplstp-oam.c')
-rw-r--r--epan/dissectors/packet-mplstp-oam.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-mplstp-oam.c b/epan/dissectors/packet-mplstp-oam.c
index 9771f5bd2f..6b17ab7bc8 100644
--- a/epan/dissectors/packet-mplstp-oam.c
+++ b/epan/dissectors/packet-mplstp-oam.c
@@ -29,6 +29,7 @@
#include "config.h"
#include <epan/packet.h>
#include "packet-bfd.h"
+#include "packet-mpls.h"
void proto_register_mplstp_lock(void);
void proto_register_mplstp_fm(void);
@@ -344,7 +345,7 @@ proto_reg_handoff_mplstp_fm(void)
dissector_handle_t mplstp_fm_handle;
mplstp_fm_handle = create_dissector_handle( dissect_mplstp_fm, proto_mplstp_fm );
- dissector_add_uint("pwach.channel_type", 0x0058, mplstp_fm_handle); /* KM: MPLSTP FM, RFC 6427 */
+ dissector_add_uint("pwach.channel_type", PW_ACH_TYPE_MPLSTP_FM, mplstp_fm_handle);
}
/*