* dhclient: don't flush IPv6 addresses/routes.
svn path=/nixpkgs/trunk/; revision=26455
This commit is contained in:
parent
df786c07dc
commit
7cbb426eae
@ -10,9 +10,9 @@ diff --exclude '*~' -rc dhcp-4.1.0p1-orig/client/scripts/linux dhcp-4.1.0p1/clie
|
||||
+ # 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.
|
||||
|
@ -1504,6 +1504,7 @@ let
|
||||
|
||||
zsync = callPackage ../tools/compression/zsync { };
|
||||
|
||||
|
||||
### SHELLS
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user