diff options
author | Daniil Baturin <daniil@baturin.org> | 2017-10-12 07:57:16 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2017-10-12 07:59:19 +0200 |
commit | 11fffae1e985ed22d3ab6c437413e8c999b27ea9 (patch) | |
tree | 9d98969a652350b6c201a7f742e90b39bd1e2d28 /templates | |
parent | 2f3ec2cd1f5ec543abb8fc46c5ab606ebe8edcdc (diff) | |
download | vyatta-cfg-system-11fffae1e985ed22d3ab6c437413e8c999b27ea9.tar.gz vyatta-cfg-system-11fffae1e985ed22d3ab6c437413e8c999b27ea9.zip |
T198: fix typos in the l2tpv3 script.
Thanks to Thomas Courbon!
Diffstat (limited to 'templates')
-rw-r--r-- | templates/interfaces/l2tpv3/node.def | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/interfaces/l2tpv3/node.def b/templates/interfaces/l2tpv3/node.def index 4fce9536..03c677ad 100644 --- a/templates/interfaces/l2tpv3/node.def +++ b/templates/interfaces/l2tpv3/node.def @@ -48,9 +48,9 @@ create: delete: ip link set $VAR(@) down - if [ -n "$VAR(./tunnel-id@/)" ] && [ -n "$VAR(./session-id@/)" ] ; then + if [ -n "$VAR(./tunnel-id/@)" ] && [ -n "$VAR(./session-id/@)" ] ; then ip l2tp del session $VAR(./tunnel-id/@) session_id $VAR(./session-id/@) fi - if [ -n "$VAR(./tunnel-id@/)" ] ; then + if [ -n "$VAR(./tunnel-id/@)" ] ; then ip l2tp del tunnel tunnel_id $VAR(./tunnel-id/@) fi |