aboutsummaryrefslogtreecommitdiffstats
path: root/tools/make-tap-reg.py
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2012-09-18 15:15:39 +0000
committerJeff Morriss <jeff.morriss.ws@gmail.com>2012-09-18 15:15:39 +0000
commitc7fa2f0b6f8937799f97982e60a6260112bf5e3f (patch)
treee7d07e774d837a320d8aaed2fbcd165fd0466a27 /tools/make-tap-reg.py
parenta97731bbcbcca96b77efffb86de0500503cef2fc (diff)
If we have PYTHON use make-tap-reg.py (in both autofoo and Windows): it's
slightly faster than the old shell-script version on *NIX and it seems significantly faster on Windows. svn path=/trunk/; revision=44972
Diffstat (limited to 'tools/make-tap-reg.py')
-rwxr-xr-xtools/make-tap-reg.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/make-tap-reg.py b/tools/make-tap-reg.py
index 935c5ede2b..aaf35f9fbd 100755
--- a/tools/make-tap-reg.py
+++ b/tools/make-tap-reg.py
@@ -30,6 +30,10 @@ if registertype == "taps":
tmp_filename = "wireshark-tap-register.c-tmp"
final_filename = "wireshark-tap-register.c"
cache_filename = "wireshark-tap-register-cache.pkl"
+elif registertype == "tshark-taps":
+ tmp_filename = "tshark-tap-register.c-tmp"
+ final_filename = "tshark-tap-register.c"
+ cache_filename = "tshark-tap-register-cache.pkl"
else:
print "Unknown output type '%s'" % registertype
sys.exit(1)