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:57:16 +0200 |
commit | 8752ad2106f8b2c4829f0ab7004d51b7e62c44ba (patch) | |
tree | ecf4f8c400f6dcc93137167f5f57d434d39adb0e | |
parent | 7705dca3b48b4d8c4ef4a6c929a2c3866d481d0b (diff) | |
download | vyatta-cfg-system-8752ad2106f8b2c4829f0ab7004d51b7e62c44ba.tar.gz vyatta-cfg-system-8752ad2106f8b2c4829f0ab7004d51b7e62c44ba.zip |
T198: fix typos in the l2tpv3 script.
Thanks to Thomas Courbon!
-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 fb3d1475..ed2baa8e 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 |