summaryrefslogtreecommitdiff
path: root/src/op_mode
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2022-01-11 19:12:00 +0100
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2022-01-11 19:12:00 +0100
commit30edcba594ebc07412c903a8e7896235cbc3d11f (patch)
tree3b1c95f4a1051f4d48cda66954e11064ae298a23 /src/op_mode
parent6cf5767524b8519f86981943ab71ff288bf77d67 (diff)
downloadvyos-1x-30edcba594ebc07412c903a8e7896235cbc3d11f.tar.gz
vyos-1x-30edcba594ebc07412c903a8e7896235cbc3d11f.zip
policy: T2199: Update op-mode syntax to `route6`
Diffstat (limited to 'src/op_mode')
-rwxr-xr-xsrc/op_mode/policy_route.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/policy_route.py b/src/op_mode/policy_route.py
index 95a7eadac..5be40082f 100755
--- a/src/op_mode/policy_route.py
+++ b/src/op_mode/policy_route.py
@@ -65,7 +65,7 @@ def get_config_policy(conf, name=None, ipv6=False, interfaces=True):
route_conf['interface'] = []
if 'route6' in policy:
- for route_name, route_conf in policy['ipv6_route'].items():
+ for route_name, route_conf in policy['route6'].items():
route_conf['interface'] = []
get_policy_interfaces(conf, policy, name, ipv6)