aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2017-12-14 23:58:00 +0100
committerPascal Quantin <pascal.quantin@gmail.com>2017-12-14 22:59:10 +0000
commitafc6e773dc84ddcf57af59e0fd87ab1625204786 (patch)
tree00dbbd7d59fc40cbafe6c59e9efbe47b9b2752e9
parentdb140dd500227c1a7c2223c1c868812e08253493 (diff)
Fix registration of wiretap plugins
Change-Id: I1277870cab348feda7e23cffb277410bd4b10a0e Reviewed-on: https://code.wireshark.org/review/24832 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
-rwxr-xr-xtools/make-plugin-reg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/make-plugin-reg.py b/tools/make-plugin-reg.py
index 7a899d6..d910fe6 100755
--- a/tools/make-plugin-reg.py
+++ b/tools/make-plugin-reg.py
@@ -83,7 +83,7 @@ for filename in filenames:
file.close()
# Make sure we actually processed something
-if len(regs['proto_reg']) < 1:
+if len(regs['proto_reg']) < 1 and len(regs['wtap_register']) < 1:
print("No protocol registrations found")
sys.exit(1)