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 68a961ec..6f248f89 100755
--- a/vsperf
+++ b/vsperf
@@ -564,8 +564,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