--- net/l2tp.sh.orig 2017-05-25 02:02:07.027854719 -0400 +++ net/l2tp.sh 2017-06-10 17:05:09.456616949 -0400 @@ -32,7 +32,7 @@ } _is_l2tp() { - eval "$(ip l2tp show session | \ + eval "$(ip l2tp show session 2>&1 | \ awk "match(\$0, /^Session ([0-9]+) in tunnel ([0-9]+)\$/, ret) {sid=ret[1]; tid=ret[2]} match(\$0, /^[ ]*interface name: ${IFACE}\$/) {print \"session_id=\"sid\";tunnel_id=\"tid; exit}")" test -n "$session_id"