diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-02-27 19:29:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-27 19:29:17 +0100 |
commit | 7d3176beb07ab1faa156c2da76384186376cf25d (patch) | |
tree | 6c432dfb745376fda4b30930e79f7a5f95e86935 /src/conf_mode/interfaces-l2tpv3.py | |
parent | 93d33b06b59a514485467ced5a48dc997a235c6c (diff) | |
parent | 10461c87c6f58c7f5b63d4053b8f00d65213bda3 (diff) | |
download | vyos-1x-7d3176beb07ab1faa156c2da76384186376cf25d.tar.gz vyos-1x-7d3176beb07ab1faa156c2da76384186376cf25d.zip |
Merge pull request #227 from thomas-mangin/T2057
ifconfig: T2057: generalised Interface configuration
Diffstat (limited to 'src/conf_mode/interfaces-l2tpv3.py')
-rwxr-xr-x | src/conf_mode/interfaces-l2tpv3.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/interfaces-l2tpv3.py b/src/conf_mode/interfaces-l2tpv3.py index ae49dadad..44fd02654 100755 --- a/src/conf_mode/interfaces-l2tpv3.py +++ b/src/conf_mode/interfaces-l2tpv3.py @@ -193,7 +193,7 @@ def apply(l2tpv3): # always delete it first. conf['session_id'] = l2tpv3['session_id'] conf['tunnel_id'] = l2tpv3['tunnel_id'] - l = L2TPv3If(l2tpv3['intf'], config=conf) + l = L2TPv3If(l2tpv3['intf'], **conf) l.remove() if not l2tpv3['deleted']: @@ -208,7 +208,7 @@ def apply(l2tpv3): conf['peer_session_id'] = l2tpv3['peer_session_id'] # Finally create the new interface - l = L2TPv3If(l2tpv3['intf'], config=conf) + l = L2TPv3If(l2tpv3['intf'], **conf) # update interface description used e.g. by SNMP l.set_alias(l2tpv3['description']) # Maximum Transfer Unit (MTU) |