aboutsummaryrefslogtreecommitdiffstats
path: root/tools/make-plugin-reg.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/make-plugin-reg.py')
-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 7a899d6d20..d910fe6580 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)