diff options
author | hagbard <vyosdev@derith.de> | 2019-10-09 09:24:40 -0700 |
---|---|---|
committer | hagbard <vyosdev@derith.de> | 2019-10-09 09:24:40 -0700 |
commit | f8be18fbc549bc574746991bd0bb1de9b424745e (patch) | |
tree | 681026f10f4a02f707a1cec037935e20716fdb51 /src/conf_mode/interface-wireguard.py | |
parent | c4dbaa158c9b5c6e3c4ff3fe2f9f17d095732547 (diff) | |
parent | 21fe962befb2ebd1625eb7a6c28cb3e9005fe37e (diff) | |
download | vyos-1x-f8be18fbc549bc574746991bd0bb1de9b424745e.tar.gz vyos-1x-f8be18fbc549bc574746991bd0bb1de9b424745e.zip |
Merge branch 'current' into equuleus
Diffstat (limited to 'src/conf_mode/interface-wireguard.py')
-rwxr-xr-x | src/conf_mode/interface-wireguard.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/conf_mode/interface-wireguard.py b/src/conf_mode/interface-wireguard.py index 0be8b7b0f..0dcce6b1c 100755 --- a/src/conf_mode/interface-wireguard.py +++ b/src/conf_mode/interface-wireguard.py @@ -224,10 +224,10 @@ def apply(c): intfc.add_addr(ip) # interface mtu - intfc.mtu = int(c['mtu']) + intfc.set_mtu(int(c['mtu'])) # ifalias for snmp from description - intfc.ifalias = str(c['descr']) + intfc.set_alias(str(c['descr'])) # remove peers if c['peer_remove']: @@ -267,7 +267,7 @@ def apply(c): intfc.update() # interface state - intfc.state = c['state'] + intfc.set_state(c['state']) return None |