aboutsummaryrefslogtreecommitdiffstats
path: root/vsperf
diff options
context:
space:
mode:
Diffstat (limited to 'vsperf')
-rwxr-xr-xvsperf4
1 files changed, 2 insertions, 2 deletions
diff --git a/vsperf b/vsperf
index 46b6b416..c14f9bb2 100755
--- a/vsperf
+++ b/vsperf
@@ -546,8 +546,8 @@ def main():
settings.setValue('mode', args['mode'])
- # set dpdk and ovs paths according to VNF and VSWITCH
- if settings.getValue('mode') != 'trafficgen':
+ # update paths to trafficgens if required
+ if settings.getValue('mode') == 'trafficgen':
functions.settings_update_paths()
# if required, handle list-* operations