diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-02 19:14:10 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-02 19:14:10 +0200 |
commit | b5310b0979408d2e82252a5dde74375b016cb410 (patch) | |
tree | 7b553dfef827589e074531349f14037790a80e3a /interface-definitions/interfaces-tunnel.xml.in | |
parent | 92d04a74411695b61c78985a91ca0a68017091ef (diff) | |
download | vyos-1x-b5310b0979408d2e82252a5dde74375b016cb410.tar.gz vyos-1x-b5310b0979408d2e82252a5dde74375b016cb410.zip |
fconfig: l2tpv3: T1823: fix configuration build syntax
Fixes reference to unspecified variable
Traceback (most recent call last):
File "/usr/libexec/vyos/conf_mode/interfaces-l2tpv3.py", line 245, in <module>
apply(c)
File "/usr/libexec/vyos/conf_mode/interfaces-l2tpv3.py", line 211, inapply
l = L2TPv3If(l2tpv3['intf'], **conf)
File "/usr/lib/python3/dist-packages/vyos/ifconfig/interface.py", line 185, in __init__
self._create()
File "/usr/lib/python3/dist-packages/vyos/ifconfig/l2tpv3.py", line 48, in _create
cmd = 'ip l2tp add tunnel tunnel_id {} '.format(config['tunnel_id'])
NameError: name 'config' is not defined
Diffstat (limited to 'interface-definitions/interfaces-tunnel.xml.in')
0 files changed, 0 insertions, 0 deletions