summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
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,
)