summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorBjörn Hemfjäll <25451914+bgh88@users.noreply.github.com>2021-06-22 23:51:01 +0200
committerGitHub <noreply@github.com>2021-06-22 21:51:01 +0000
commit86b6d04c3d00e93e391bdbc1c7788789a9d4c8fe (patch)
tree68db4f3955a36a02b20a86211da1c7ddda4e14c4 /plugins
parenta8e806d61fc1e4fd88592bee7e501fbe259cca99 (diff)
downloadvyos-ansible-old-86b6d04c3d00e93e391bdbc1c7788789a9d4c8fe.tar.gz
vyos-ansible-old-86b6d04c3d00e93e391bdbc1c7788789a9d4c8fe.zip
static route fixes (#165)
static route fixes Reviewed-by: https://github.com/apps/ansible-zuul
Diffstat (limited to 'plugins')
-rw-r--r--plugins/module_utils/network/vyos/config/static_routes/static_routes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/module_utils/network/vyos/config/static_routes/static_routes.py b/plugins/module_utils/network/vyos/config/static_routes/static_routes.py
index 61cb4ad..bd7fd15 100644
--- a/plugins/module_utils/network/vyos/config/static_routes/static_routes.py
+++ b/plugins/module_utils/network/vyos/config/static_routes/static_routes.py
@@ -375,7 +375,7 @@ class Static_routes(ConfigBase):
key="next-hop",
attrib=hop["forward_router_address"]
+ " "
- + element,
+ + "next-hop-interface",
value=hop[element],
opr=opr,
)
@@ -482,7 +482,7 @@ class Static_routes(ConfigBase):
key="next-hop",
attrib=hop["forward_router_address"]
+ " "
- + element,
+ + "next-hop-interface",
value=hop[element],
remove=True,
)