Code Review
/
trex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
db4f36d
)
Small fix to dpdk_setup_ports.py
author
Ido Barnea
<
[email protected]
>
Thu, 20 Oct 2016 10:01:48 +0000
(13:01 +0300)
committer
Ido Barnea
<
[email protected]
>
Thu, 20 Oct 2016 10:01:48 +0000
(13:01 +0300)
Signed-off-by: Ido Barnea <
[email protected]
>
scripts/dpdk_setup_ports.py
patch
|
blob
|
history
diff --git
a/scripts/dpdk_setup_ports.py
b/scripts/dpdk_setup_ports.py
index
d2ef278
..
726d4ee
100755
(executable)
--- a/
scripts/dpdk_setup_ports.py
+++ b/
scripts/dpdk_setup_ports.py
@@
-144,7
+144,7
@@
class ConfigCreator(object):
self._exit_if_bad_ip(interface['ip'])
self._exit_if_bad_ip(interface['def_gw'])
config_str += ' '*6 + '- ip: %s\n' % interface['ip']
- config_str += ' '*8 + 'def_gw: %s\n' % interface['def_gw']
+ config_str += ' '*8 + 'def
ault
_gw: %s\n' % interface['def_gw']
else:
config_str += ' '*6 + '- dest_mac: [%s]' % self._convert_mac(interface['dest_mac'])
if interface.get('loopback_dest'):