summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2020-06-18 01:41:03 +0700
committerGitHub <noreply@github.com>2020-06-18 01:41:03 +0700
commit13c7cff6727b3f41375fc534afcf5b1e028ec3dc (patch)
tree2dfdf28e3f2916762b6e813ceae5bbe3d522534c
parent99bdbf7859577c4cd942859ecfdd670e83f33cf3 (diff)
parentbd3e79f3c477e6e1afbf3068aa04cac4edbbdc30 (diff)
downloadvyos-1x-13c7cff6727b3f41375fc534afcf5b1e028ec3dc.tar.gz
vyos-1x-13c7cff6727b3f41375fc534afcf5b1e028ec3dc.zip
Merge pull request #463 from stside/T2610_fix_router_lifetime
T2610: default-lifetime is not reflected in the RA message
-rwxr-xr-xsrc/conf_mode/service_router-advert.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/service_router-advert.py b/src/conf_mode/service_router-advert.py
index da7019e2c..594641975 100755
--- a/src/conf_mode/service_router-advert.py
+++ b/src/conf_mode/service_router-advert.py
@@ -66,8 +66,8 @@ def get_config():
if conf.exists(['hop-limit']):
intf['hop_limit'] = conf.return_value(['hop-limit'])
- if conf.exists(['default-lifetim']):
- intf['default_lifetime'] = conf.return_value(['default-lifetim'])
+ if conf.exists(['default-lifetime']):
+ intf['default_lifetime'] = conf.return_value(['default-lifetime'])
if conf.exists(['default-preference']):
intf['default_preference'] = conf.return_value(['default-preference'])