[arch-commits] Commit in dhcpcd/repos/testing-x86_64 (fs17838.patch)

Ronald van Haren ronald at archlinux.org
Tue Jan 26 03:30:47 EST 2010


    Date: Tuesday, January 26, 2010 @ 03:30:47
  Author: ronald
Revision: 65267

upload patch to svn

Added:
  dhcpcd/repos/testing-x86_64/fs17838.patch

---------------+
 fs17838.patch |   17 +++++++++++++++++
 1 file changed, 17 insertions(+)

Added: fs17838.patch
===================================================================
--- fs17838.patch	                        (rev 0)
+++ fs17838.patch	2010-01-26 08:30:47 UTC (rev 65267)
@@ -0,0 +1,17 @@
+Index: dhcpcd.c
+===================================================================
+--- a/dhcpcd.c
++++ b/dhcpcd.c
+@@ -404,4 +404,5 @@
+         if (iface->addr.s_addr == 0) {
+                 /* We failed to reboot, so enter discovery. */
++                iface->state->lease.addr.s_addr = 0;
+                 start_discover(iface);
+                 return;
+@@ -1167,4 +1168,6 @@
+                             now.tv_sec - st.st_mtime)
+                         {
++                                syslog(LOG_DEBUG,
++                                    "%s: discarding expired lease", iface->name);
+                                 free(iface->state->offer);
+                                 iface->state->offer = NULL;



More information about the arch-commits mailing list