aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-s4406.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2010-06-28 10:34:15 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2010-06-28 10:34:15 +0000
commit8246e874320aa13700d4c98ece43c229fb1ab1e6 (patch)
tree29097179034a4938937e938416e8d36703774e7f /epan/dissectors/packet-s4406.c
parent342fc4cfb427e48abc57fb8b7e8dbfb338f724d4 (diff)
Moved register_ber_syntax_dissector() and register_ber_oid_syntax() from
proto_reg_handoff_* to proto_register_*. svn path=/trunk/; revision=33345
Diffstat (limited to 'epan/dissectors/packet-s4406.c')
-rw-r--r--epan/dissectors/packet-s4406.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/epan/dissectors/packet-s4406.c b/epan/dissectors/packet-s4406.c
index 6c5ba31f1f..2cea58b896 100644
--- a/epan/dissectors/packet-s4406.c
+++ b/epan/dissectors/packet-s4406.c
@@ -1636,6 +1636,8 @@ void proto_register_s4406(void) {
proto_register_field_array(proto_s4406, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
+ register_ber_syntax_dissector("STANAG 4406", proto_s4406, dissect_s4406);
+ register_ber_oid_syntax(".p772", NULL, "STANAG 4406");
}
@@ -1677,11 +1679,7 @@ void proto_reg_handoff_s4406(void) {
/*--- End of included file: packet-s4406-dis-tab.c ---*/
-#line 113 "packet-s4406-template.c"
+#line 115 "packet-s4406-template.c"
register_ber_oid_dissector("1.3.26.0.4406.0.4.1", dissect_s4406, proto_s4406, "STANAG 4406");
-
- register_ber_syntax_dissector("STANAG 4406", proto_s4406, dissect_s4406);
- register_ber_oid_syntax(".p772", NULL, "STANAG 4406");
-
}