From 59f00264f39dfb95a62401776b4ed8c433682fa7 Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Thu, 24 Mar 2016 20:00:27 +0200 Subject: gather stateful client to stf folder, create trex_client package --- scripts/external_libs/scapy-2.3.1/python2/scapy/data.py | 1 + scripts/external_libs/scapy-2.3.1/python3/scapy/data.py | 1 + 2 files changed, 2 insertions(+) (limited to 'scripts/external_libs') 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: diff --git a/scripts/external_libs/scapy-2.3.1/python3/scapy/data.py b/scripts/external_libs/scapy-2.3.1/python3/scapy/data.py index fc92ebe2..2aded28a 100644 --- a/scripts/external_libs/scapy-2.3.1/python3/scapy/data.py +++ b/scripts/external_libs/scapy-2.3.1/python3/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: -- cgit 1.2.3-korg