diff options
Diffstat (limited to 'tools/pkt_gen/trafficgen')
-rw-r--r-- | tools/pkt_gen/trafficgen/trafficgenhelper.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/pkt_gen/trafficgen/trafficgenhelper.py b/tools/pkt_gen/trafficgen/trafficgenhelper.py index 8577da26..f5ac539d 100644 --- a/tools/pkt_gen/trafficgen/trafficgenhelper.py +++ b/tools/pkt_gen/trafficgen/trafficgenhelper.py @@ -25,14 +25,16 @@ TRAFFIC_DEFAULTS = { 'framesize': 64, 'srcmac': '00:00:00:00:00:00', 'dstmac': '00:00:00:00:00:00', - 'srcport': 3000, - 'dstport': 3001, }, 'l3': { 'proto': 'udp', 'srcip': '1.1.1.1', 'dstip': '90.90.90.90', }, + 'l4': { + 'srcport': 3000, + 'dstport': 3001, + }, 'vlan': { 'enabled': False, 'id': 0, |