If you replace the current line which sets DEV with this one: DEV=$($IPROUTE route | sed -ne 's/^default.* dev \([[:alnum:]-]\+\)\(.*metric \([0-9]\+\)\)\{0,1\}.*$/\1 \3/p' | sort -n -k2 | sed -e '1{s/^\([[:alnum:]-]\+\).*$ then it works for me, at least. However, this could probably use testing to make sure it doesn't break anything.
(Incidentally, I think the effect of this bug will be that the MTU will be left at the default of 1500 rather than set to 1412, which will probably break networking in some cases.) -- vpnc: do_ifconfig() in /etc/vpnc/vpnc-script misparses output of "ip route" https://bugs.launchpad.net/bugs/382168 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs