mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-20 04:02:40 +03:00
167383c7bf
also, fix the name attribute in the nix expression
13 lines
450 B
Diff
13 lines
450 B
Diff
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
|