Author: eelco
Date: Tue Mar 22 12:55:55 2011
New Revision: 26455
URL: https://svn.nixos.org/websvn/nix/?rev=26455&sc=1
Log:
* dhclient: don't flush IPv6 addresses/routes.
Modified:
nixpkgs/trunk/pkgs/tools/networking/dhcp/flush-if.patch
nixpkgs/trunk/pkgs/top-level/all-packages.nix
Modified: nixpkgs/trunk/pkgs/tools/networking/dhcp/flush-if.patch
==============================================================================
--- nixpkgs/trunk/pkgs/tools/networking/dhcp/flush-if.patch Tue Mar 22
11:36:58 2011 (r26454)
+++ nixpkgs/trunk/pkgs/tools/networking/dhcp/flush-if.patch Tue Mar 22
12:55:55 2011 (r26455)
@@ -10,9 +10,9 @@
+ # Delete the old addresses, routes and ARP information for this
+ # interface.
+ flush_if() {
-+ ${ip} address flush dev $interface
-+ ${ip} route flush dev $interface
-+ ${ip} neighbour flush dev $interface
++ ${ip} -4 address flush dev $interface
++ ${ip} -4 route flush dev $interface
++ ${ip} -4 neighbour flush dev $interface
+ }
+
# Invoke the local dhcp client enter hooks, if they exist.
Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix Tue Mar 22 11:36:58
2011 (r26454)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix Tue Mar 22 12:55:55
2011 (r26455)
@@ -1504,6 +1504,7 @@
zsync = callPackage ../tools/compression/zsync { };
+
### SHELLS
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits