summaryrefslogtreecommitdiff
path: root/asn1/x509sat
diff options
context:
space:
mode:
authorGraeme Lunt <graeme.lunt@smhs.co.uk>2010-06-28 09:26:41 +0000
committerGraeme Lunt <graeme.lunt@smhs.co.uk>2010-06-28 09:26:41 +0000
commit0d9ad5016e2321574904dea7166cc98bc54ceb8b (patch)
treee430ee0642105e4750314bf4e8549766aa308e67 /asn1/x509sat
parent6d60493b8a546441d6efe2e0593fb6cbafb6cad3 (diff)
downloadwireshark-0d9ad5016e2321574904dea7166cc98bc54ceb8b.tar.gz
Remove the -R flag (used to generate syntax registrations) and replace with a
packet-<proto>-syn-reg.c output file. This is more generic and allows the syntax registrations to the directed from the template file. svn path=/trunk/; revision=33342
Diffstat (limited to 'asn1/x509sat')
-rw-r--r--asn1/x509sat/Makefile.common2
-rw-r--r--asn1/x509sat/packet-x509sat-template.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/asn1/x509sat/Makefile.common b/asn1/x509sat/Makefile.common
index f39c04b2d7..c4165eb728 100644
--- a/asn1/x509sat/Makefile.common
+++ b/asn1/x509sat/Makefile.common
@@ -46,7 +46,7 @@ SRC_FILES = \
$(EXTRA_DIST) \
$(EXT_ASN_FILE_LIST)
-A2W_FLAGS= -b -e -R -r Syntax
+A2W_FLAGS= -b -e -r Syntax
EXTRA_CNF= \
../x509if/x509if-exp.cnf \
diff --git a/asn1/x509sat/packet-x509sat-template.c b/asn1/x509sat/packet-x509sat-template.c
index 04a497f147..726874c3dd 100644
--- a/asn1/x509sat/packet-x509sat-template.c
+++ b/asn1/x509sat/packet-x509sat-template.c
@@ -71,6 +71,8 @@ void proto_register_x509sat(void) {
proto_register_field_array(proto_x509sat, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
+#include "packet-x509sat-syn-reg.c"
+
}