summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-07-26 14:34:07 +0200
committerGitHub <noreply@github.com>2022-07-26 14:34:07 +0200
commit1589eefe8b24b66bda1e479a7a2179329792dcbd (patch)
treea28f420cf8d58697cd8059aabf9fa4bbefbb13e4
parent183dc5fc17b5b9fe5c02162bbca8d78883a01b2f (diff)
parent59927630d982b7489c4d6d9c8fda1a54fbf1945b (diff)
downloadvyos-1x-1589eefe8b24b66bda1e479a7a2179329792dcbd.tar.gz
vyos-1x-1589eefe8b24b66bda1e479a7a2179329792dcbd.zip
Merge pull request #1436 from aapostoliuk/T4546-sagitta
nhrp: T4546: Fixed gateway in route add command
-rwxr-xr-xsrc/etc/opennhrp/opennhrp-script.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/opennhrp/opennhrp-script.py b/src/etc/opennhrp/opennhrp-script.py
index 5a64dade8..8274e6564 100755
--- a/src/etc/opennhrp/opennhrp-script.py
+++ b/src/etc/opennhrp/opennhrp-script.py
@@ -62,7 +62,7 @@ def add_peer_route(nbma_src: str, nbma_dst: str, mtu: str) -> None:
for route_item in route_info_data:
route_dev = route_item.get('dev')
route_dst = route_item.get('dst')
- route_gateway = route_item.get('route_gateway')
+ route_gateway = route_item.get('gateway')
# Prepare a command to add a route
route_add_cmd = 'sudo ip route add'
if route_dst: