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

Peter Maydell pmaydell at chiark.greenend.org.uk
Mon Jan 4 15:45:19 UTC 2010


Actually the line I'm using ends with
.. | sed -e '1{s/^\([[:alnum:]-]\+\).*$/\1/;q}')

(must have got truncated when I wrote that comment and I didn't notice).
I think this will ensure that you always get only one device name, which
yours doesn't.

-- 
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