summary refs log tree commit diff
path: root/pkgs/tools/networking/vpnc/no_default_route_when_netmask.patch
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2021-11-03 20:29:40 +0000
committerAlyssa Ross <hi@alyssa.is>2022-03-22 21:17:25 +0000
commit2d8ed26b2a47b89e077897430755c99450439741 (patch)
tree36259525ea865536fd993ac462b759a1940be5cf /pkgs/tools/networking/vpnc/no_default_route_when_netmask.patch
parentd4afbfa92869dc28185a7d2742f81ac45e9df87f (diff)
downloadnixpkgs-2d8ed26b2a47b89e077897430755c99450439741.tar
nixpkgs-2d8ed26b2a47b89e077897430755c99450439741.tar.gz
nixpkgs-2d8ed26b2a47b89e077897430755c99450439741.tar.bz2
nixpkgs-2d8ed26b2a47b89e077897430755c99450439741.tar.lz
nixpkgs-2d8ed26b2a47b89e077897430755c99450439741.tar.xz
nixpkgs-2d8ed26b2a47b89e077897430755c99450439741.tar.zst
nixpkgs-2d8ed26b2a47b89e077897430755c99450439741.zip
vpnc: switch to maintained fork
This is the same fork now used by Alpine, Arch, Debian, Gentoo, and
SliTaz.  vpnc-script is no longer bundled, but we already have it
packaged anyway so that's okay.
Diffstat (limited to 'pkgs/tools/networking/vpnc/no_default_route_when_netmask.patch')
-rw-r--r--pkgs/tools/networking/vpnc/no_default_route_when_netmask.patch12
1 files changed, 0 insertions, 12 deletions
diff --git a/pkgs/tools/networking/vpnc/no_default_route_when_netmask.patch b/pkgs/tools/networking/vpnc/no_default_route_when_netmask.patch
deleted file mode 100644
index fa12abe9b77..00000000000
--- a/pkgs/tools/networking/vpnc/no_default_route_when_netmask.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -uNr a/vpnc-script b/vpnc-script
---- a/vpnc-script	2015-09-06 13:19:11.408661526 +0200
-+++ b/vpnc-script	2015-09-06 14:47:40.260871556 +0200
-@@ -647,7 +647,7 @@
- 			echo "$i" | grep : >/dev/null || \
- 				set_network_route "$i" "255.255.255.255" "32"
- 		done
--	elif [ -n "$INTERNAL_IP4_ADDRESS" ]; then
-+	elif [ -n "$INTERNAL_IP4_ADDRESS" -a -z "$INTERNAL_IP4_NETMASK" ]; then
- 		set_default_route
- 	fi
- 	if [ -n "$CISCO_IPV6_SPLIT_INC" ]; then