summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/vpp.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/conf_mode/vpp.py b/src/conf_mode/vpp.py
index 2ae079c30..d39eadac1 100755
--- a/src/conf_mode/vpp.py
+++ b/src/conf_mode/vpp.py
@@ -747,9 +747,7 @@ def apply(config):
vpp_control = VPPControl()
# preconfigure LCP plugin
- if 'ignore_kernel_routes' in config['settings'].get(
- 'resource_allocation', {}
- ):
+ if 'ignore_kernel_routes' in config['settings']:
vpp_control.cli_cmd('lcp param route-no-paths off')
else:
vpp_control.cli_cmd('lcp param route-no-paths on')