diff options
Diffstat (limited to 'net/vpnc/patches/patch-ac')
-rw-r--r-- | net/vpnc/patches/patch-ac | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/net/vpnc/patches/patch-ac b/net/vpnc/patches/patch-ac index 4115093b59f..dbcdac5e458 100644 --- a/net/vpnc/patches/patch-ac +++ b/net/vpnc/patches/patch-ac @@ -1,8 +1,8 @@ -$NetBSD: patch-ac,v 1.5 2008/01/09 11:35:31 hubertf Exp $ +$NetBSD: patch-ac,v 1.6 2008/05/29 20:50:31 sketch Exp $ ---- vpnc-script.orig 2007-09-06 22:05:15.000000000 +0200 -+++ vpnc-script 2007-09-14 13:30:59.000000000 +0200 -@@ -56,14 +56,15 @@ case "$OS" in +--- vpnc-script.orig 2007-09-06 21:05:15.000000000 +0100 ++++ vpnc-script 2008-05-29 13:32:02.000000000 +0100 +@@ -56,18 +56,19 @@ ;; esac @@ -23,7 +23,12 @@ $NetBSD: patch-ac,v 1.5 2008/01/09 11:35:31 hubertf Exp $ fi # stupid SunOS: no blubber in /usr/local/bin ... (on stdout) -@@ -157,7 +158,7 @@ else # use route command +-IPROUTE="`which ip | grep '^/' 2> /dev/null`" ++IPROUTE="`command -v ip | grep '^/' 2> /dev/null`" + + if [ "$OS" = "Linux" ]; then + ifconfig_syntax_ptp="pointopoint" +@@ -157,7 +158,7 @@ # isn't -n supposed to give --numeric output? # apperently not... # Get rid of lines containing IPv6 addresses (':') |