Commit Graph

14 Commits

Author SHA1 Message Date
Roy Marples
11a02f26df Add static routes before any default routes as a router may require a host
route in the static routes.
2006-12-28 18:44:16 +00:00
Roy Marples
fb9f54013c dhcpcd is reported to work on Darwin :) 2006-12-15 18:28:54 +00:00
Roy Marples
a2d14c214c Fix cleanmetas function and fix FreeBSD again 2006-12-15 14:47:01 +00:00
Roy Marples
32d928bfd3 Define _BSD_SOURCE and change to c99 - more warnings cleaned up. 2006-12-15 11:23:32 +00:00
Roy Marples
262fe7db60 Add loads of debugging CFLAGS so we can remove all compiler warnings 2006-12-14 23:17:27 +00:00
Roy Marples
94fdb30903 Fix yp.conf creation 2006-12-06 11:34:46 +00:00
Roy Marples
71b1afde0f Send the current hostname by default. 2006-12-06 09:37:15 +00:00
Roy Marples
91fe3f5a69 Fix NIS, #define RESOLVCONF and send the parameter list with DISCOVER messages 2006-12-05 09:38:10 +00:00
Roy Marples
4a742ad844 Send hostname/fqdn in DISCOVER and INFORM messages too. 2006-12-04 21:13:04 +00:00
Roy Marples
22ee2ae60c Don't do if (foo) when foo is a char array and not a pointer 2006-12-04 16:09:18 +00:00
Roy Marples
3265eabc05 Fix writing to /etc/resolv.conf when resolvconf not present and add more debug statements 2006-12-04 14:08:44 +00:00
Roy Marples
be950ddfb8 Clean some style and stop using %m (use %s + strerror (errno) instead) 2006-12-04 12:56:30 +00:00
Roy Marples
479225b66b Quote all vars in the info file.
-n and -G options now work as stated in the man page.
Handle select loops with large timeouts and infinite lease times.
Correctly set the broadcast flag.
make_dhcp_packet already has byte ordered addresses, thanks to TGL
for the fix.
If we get a NAK then always re-enter the INIT state.
2006-11-30 13:04:23 +00:00
Roy Marples
cced195e70 Add dhcpcd-3 re-write 2006-11-27 20:23:22 +00:00