[Bug 382168] Re: vpnc: do_ifconfig() in /etc/vpnc/vpnc-script misparses output of "ip route"

Peter Maydell pmaydell at chiark.greenend.org.uk
Sun May 31 16:22:02 UTC 2009


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 at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list