From a1cac186f66d0f2e8b1dce67e648aae4219c3013 Mon Sep 17 00:00:00 2001 From: Alessandro Suardi Date: Sat, 28 May 2011 23:20:15 +0100 Subject: [PATCH 1/1] Cope with new kernel/iproute including ipid in route list Signed-off-by: David Woodhouse --- vpnc-script | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/vpnc-script b/vpnc-script index cc62997..e0140c5 100755 --- a/vpnc-script.in +++ b/vpnc-script.in @@ -139,7 +139,7 @@ destroy_tun_device() { if [ -n "$IPROUTE" ]; then fix_ip_get_output () { - sed 's/cache//;s/metric \?[0-9]\+ [0-9]\+//g;s/hoplimit [0-9]\+//g' + sed 's/cache//;s/metric \?[0-9]\+ [0-9]\+//g;s/hoplimit [0-9]\+//g;s/ipid 0x....//g' } set_vpngateway_route() { -- 1.7.3.4