diff options
author | Bill Meier <wmeier@newsguy.com> | 2012-09-28 19:50:49 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2012-09-28 19:50:49 +0000 |
commit | 562c8905607f4e8ccbcefee2da84fff9f7c5c6cb (patch) | |
tree | dcd5d665b94a451e851b1c250af8df60b5690778 /epan/dissectors/packet-pw-hdlc.c | |
parent | da4b39e720b46046ee5c0d42fd2c16f163f334d5 (diff) |
Cleanup:
packet-mpls.c:
- refactor dissect_pw_ach();
- create/uer value_string_ext as appropriate;
- use call_dissector() rather than direct dissector call in one cse;
all:
- use 'LABEL' prefix for a set of rather generic enum identifiers;
- fix some cases of calling expert...() or sub-dissectors under 'if(tree)';
- reformat some hf[] entries;
- do some whitespace changes.
svn path=/trunk/; revision=45195
Diffstat (limited to 'epan/dissectors/packet-pw-hdlc.c')
-rw-r--r-- | epan/dissectors/packet-pw-hdlc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-pw-hdlc.c b/epan/dissectors/packet-pw-hdlc.c index 9c23c47fb3..9016613971 100644 --- a/epan/dissectors/packet-pw-hdlc.c +++ b/epan/dissectors/packet-pw-hdlc.c @@ -248,10 +248,10 @@ void proto_reg_handoff_pw_hdlc(void) dissector_handle_t handle; handle = find_dissector("pw_hdlc_nocw_fr"); - dissector_add_uint( "mpls.label", LABEL_INVALID, handle ); + dissector_add_uint( "mpls.label", MPLS_LABEL_INVALID, handle ); handle = find_dissector("pw_hdlc_nocw_hdlc_ppp"); - dissector_add_uint( "mpls.label", LABEL_INVALID, handle ); + dissector_add_uint( "mpls.label", MPLS_LABEL_INVALID, handle ); ppp_handle = find_dissector( "ppp" ); fr_handle = find_dissector( "fr" ); |