diff options
Diffstat (limited to 'testing/vpnc/fix-iproute-syntax.patch')
-rw-r--r-- | testing/vpnc/fix-iproute-syntax.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/vpnc/fix-iproute-syntax.patch b/testing/vpnc/fix-iproute-syntax.patch new file mode 100644 index 000000000..9cba4bec3 --- /dev/null +++ b/testing/vpnc/fix-iproute-syntax.patch @@ -0,0 +1,26 @@ +From a1cac186f66d0f2e8b1dce67e648aae4219c3013 Mon Sep 17 00:00:00 2001 +From: Alessandro Suardi <alessandro.suardi@gmail.com> +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 <David.Woodhouse@intel.com> +--- + 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 + |