summaryrefslogtreecommitdiffstats
path: root/scripts/external_libs/scapy-2.3.1/python2/scapy/data.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/external_libs/scapy-2.3.1/python2/scapy/data.py')
-rw-r--r--scripts/external_libs/scapy-2.3.1/python2/scapy/data.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/external_libs/scapy-2.3.1/python2/scapy/data.py b/scripts/external_libs/scapy-2.3.1/python2/scapy/data.py
index de01cfc9..9c5bb6bd 100644
--- a/scripts/external_libs/scapy-2.3.1/python2/scapy/data.py
+++ b/scripts/external_libs/scapy-2.3.1/python2/scapy/data.py
@@ -105,6 +105,7 @@ def load_services(filename):
spaces = re.compile("[ \t]+|\n")
tdct=DADict(_name="%s-tcp"%filename)
udct=DADict(_name="%s-udp"%filename)
+ return tdct,udct
try:
f=open(filename)
for l in f: