diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2014-10-06 15:31:47 +0200 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2014-10-13 11:24:07 +0000 |
commit | 4e1b5ea866dd332294246c4800efe77431010ad8 (patch) | |
tree | 8cda568a450b29fd7bbfcbbf03d840ab9f123190 /asn1/atn-cm | |
parent | 94d35481b773e785c3aec31f81dea4300fdb5669 (diff) | |
download | wireshark-4e1b5ea866dd332294246c4800efe77431010ad8.tar.gz |
ASN1: Register PDU-dissectors as NEW
Change-Id: I1a317b19d8076588c9305dae6287bb80cc14da64
Reviewed-on: https://code.wireshark.org/review/4494
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'asn1/atn-cm')
-rw-r--r-- | asn1/atn-cm/atn-cm.cnf | 2 | ||||
-rw-r--r-- | asn1/atn-cm/packet-atn-cm-template.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/asn1/atn-cm/atn-cm.cnf b/asn1/atn-cm/atn-cm.cnf index e38195f1c4..38e23bc0bd 100644 --- a/asn1/atn-cm/atn-cm.cnf +++ b/asn1/atn-cm/atn-cm.cnf @@ -6,7 +6,7 @@ #.EXPORTS -#.PDU +#.PDU_NEW CMAircraftMessage CMGroundMessage #.END diff --git a/asn1/atn-cm/packet-atn-cm-template.c b/asn1/atn-cm/packet-atn-cm-template.c index a514322004..22889c64a3 100644 --- a/asn1/atn-cm/packet-atn-cm-template.c +++ b/asn1/atn-cm/packet-atn-cm-template.c @@ -91,13 +91,13 @@ dissect_atn_cm( dissect_CMGroundMessage_PDU( tvb, pinfo, - sub_tree); + sub_tree, NULL); break; case dm: dissect_CMAircraftMessage_PDU( tvb, pinfo, - sub_tree); + sub_tree, NULL); break; default: break; @@ -126,7 +126,7 @@ dissect_atn_cm_heur( dissect_CMGroundMessage_PDU( tvb, pinfo, - NULL); + NULL, NULL); /* no exception thrown: looks like it is a CM PDU */ is_atn_cm = TRUE; } CATCH_ALL { @@ -138,7 +138,7 @@ dissect_atn_cm_heur( dissect_CMAircraftMessage_PDU( tvb, pinfo, - NULL); + NULL, NULL); /* no exception thrown: looks like it is a CM PDU */ is_atn_cm = TRUE;} CATCH_ALL { |