aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pw-fr.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-06-19 10:54:01 -0700
committerGuy Harris <guy@alum.mit.edu>2014-06-19 17:54:38 +0000
commit3adc5b8c805878fb3bb299f7b9ce329c45675956 (patch)
tree953390c68151adc757ba6b863611478c005310b2 /epan/dissectors/packet-pw-fr.c
parentdaa70feddcd3ff35f2771b0b8c4e1be8e5a4e7ea (diff)
To make a dissector available for Decode As, just use dissector_add_handle().
No need to use dissector_add_uint() with a bogus value. Change-Id: Ia5e51d199487ba14cd671c7df44231a0d407c50b Reviewed-on: https://code.wireshark.org/review/2431 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-pw-fr.c')
-rw-r--r--epan/dissectors/packet-pw-fr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-pw-fr.c b/epan/dissectors/packet-pw-fr.c
index 4d96a134ef..5d04833231 100644
--- a/epan/dissectors/packet-pw-fr.c
+++ b/epan/dissectors/packet-pw-fr.c
@@ -311,7 +311,7 @@ proto_reg_handoff_pw_fr(void)
{
dissector_handle_t h;
h = find_dissector("pw_fr");
- dissector_add_uint("mpls.label", MPLS_LABEL_INVALID, h);
+ dissector_add_handle("mpls.label", h);
fr_stripped_address_handle = find_dissector("fr_stripped_address");
}