aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ppp.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2016-01-04 15:29:16 +0100
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2016-01-04 19:17:50 +0000
commit849d87af1cb9f3e19222e452fd76483244375a03 (patch)
tree7880cf2e46eca2f9817dd44146b71d321decc865 /epan/dissectors/packet-ppp.c
parent28287ec8a72de4d83a6528ba6895cb7985457111 (diff)
PPP: fix registration of CRTP (CNTCP) protocol
Also protect against any badly registered protocol Bug: 11958 Change-Id: I0c03f50c2c5478a9524ad06e669510ffb5739b21 Reviewed-on: https://code.wireshark.org/review/13041 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-ppp.c')
-rw-r--r--epan/dissectors/packet-ppp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ppp.c b/epan/dissectors/packet-ppp.c
index b9d2b0893f..dfa923a76a 100644
--- a/epan/dissectors/packet-ppp.c
+++ b/epan/dissectors/packet-ppp.c
@@ -7446,6 +7446,7 @@ proto_register_iphc_crtp(void)
proto_iphc_crtp_cudp16 = proto_register_protocol("CRTP (CUDP 16)", "CRTP (CUDP 16)", "crtp_cudp16");
proto_iphc_crtp_cudp8 = proto_register_protocol("CRTP (CUDP 8)", "CRTP (CUDP 8)", "crtp_cudp8");
proto_iphc_crtp_cs = proto_register_protocol("CRTP (CS)", "CRTP (CS)", "crtp_cs");
+ proto_iphc_crtp_cntcp = proto_register_protocol("CRTP (CNTCP)", "CRTP (CNTCP)", "crtp_cntcp");
proto_register_field_array(proto_iphc_crtp, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));