all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob a0d948195241951848677c7513b772479e68330d 527 bytes (raw)
name: packages/patches/vpnc-script.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
 
This patch adapts the vpnc script to newer kernel versions, see
   https://lkml.org/lkml/2011/3/24/645

diff -u a/vpnc-script.in b/vpnc-script.in
--- a/vpnc-script.in	2013-03-03 13:55:16.000000000 +0100
+++ b/vpnc-script.in	2013-03-03 13:56:11.000000000 +0100
@@ -116,7 +116,7 @@
 
 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() {

debug log:

solving a0d948195241951848677c7513b772479e68330d ...
found a0d948195241951848677c7513b772479e68330d in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.