[arch-commits] Commit in dhcpcd/trunk (fs17838.patch)
Ronald van Haren
ronald at archlinux.org
Tue Jan 26 08:31:16 UTC 2010
Date: Tuesday, January 26, 2010 @ 03:31:15
Author: ronald
Revision: 65268
upload patch to svn
Added:
dhcpcd/trunk/fs17838.patch
---------------+
fs17838.patch | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
Added: fs17838.patch
===================================================================
--- fs17838.patch (rev 0)
+++ fs17838.patch 2010-01-26 08:31:15 UTC (rev 65268)
@@ -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