summaryrefslogtreecommitdiffstats
path: root/dhclient/fix-mac80211-wireless.patch
diff options
context:
space:
mode:
authorFlorian Pritz <f-p@gmx.at>2009-07-14 23:36:07 +0200
committerFlorian Pritz <f-p@gmx.at>2009-07-14 23:36:07 +0200
commit0be59e14ff6169506c6e13a291584323f4e431da (patch)
tree833c49a6b9dd2a7f8ab44a251337eb603d302c43 /dhclient/fix-mac80211-wireless.patch
parente4d1068c06190de5dd46727c1f2f1249786dd13b (diff)
downloadaur-packages-0be59e14ff6169506c6e13a291584323f4e431da.tar.gz
aur-packages-0be59e14ff6169506c6e13a291584323f4e431da.tar.xz
updated dhclient
Diffstat (limited to 'dhclient/fix-mac80211-wireless.patch')
-rw-r--r--dhclient/fix-mac80211-wireless.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/dhclient/fix-mac80211-wireless.patch b/dhclient/fix-mac80211-wireless.patch
new file mode 100644
index 0000000..57c6688
--- /dev/null
+++ b/dhclient/fix-mac80211-wireless.patch
@@ -0,0 +1,30 @@
+diff -Nur dhcp-3.0.6.orig/client/scripts/linux dhcp-3.0.6/client/scripts/linux
+--- dhcp-3.0.6.orig/client/scripts/linux 2008-03-29 18:59:39.000000000 +0100
++++ dhcp-3.0.6/client/scripts/linux 2008-03-29 19:00:16.000000000 +0100
+@@ -140,7 +140,7 @@
+ if [ x$old_ip_address != x ] && [ x$old_ip_address != x$new_ip_address ]; then
+ # IP address changed. Bringing down the interface will delete all routes,
+ # and clear the ARP cache.
+- ifconfig $interface inet 0 down
++ ifconfig $interface inet 0
+ fi
+ fi
+
+@@ -185,7 +185,7 @@
+ fi
+ if [ x$old_ip_address != x ]; then
+ # Shut down interface, which will delete routes and clear arp cache.
+- ifconfig $interface inet 0 down
++ ifconfig $interface inet 0
+ fi
+ if [ x$alias_ip_address != x ]; then
+ ifconfig $interface:0 inet $alias_ip_address $alias_subnet_arg
+@@ -228,7 +228,7 @@
+ exit_with_hooks 0
+ fi
+ if [ -z "${dhc_dbus}" ] || (( ( dhc_dbus & 2 ) != 2 )); then
+- ifconfig $interface inet 0 down
++ ifconfig $interface inet 0
+ fi
+ exit_with_hooks 1
+ fi