Commit Graph

5438 Commits

Author SHA1 Message Date
Roy Marples
dc3f2dc75b Clean up warnings on Sparc/Linux 2006-12-18 14:30:32 +00:00
Roy Marples
75e3d55712 Allow Token Ring on Linux 2006-12-18 10:28:32 +00:00
Roy Marples
96bff6ea50 Clean up compile warnings on Sparc/FreeBSD 2006-12-18 09:43:44 +00:00
Roy Marples
fb9f54013c dhcpcd is reported to work on Darwin :) 2006-12-15 18:28:54 +00:00
Roy Marples
388b686f7b Add -Werror back 2006-12-15 14:47:45 +00:00
Roy Marples
a2d14c214c Fix cleanmetas function and fix FreeBSD again 2006-12-15 14:47:01 +00:00
Roy Marples
ed7d8727ca Fix silly warning on s390 2006-12-15 11:44:23 +00:00
Roy Marples
c6414ee205 Use -pipe again 2006-12-15 11:33:44 +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
99444ec9ed Compiles on FreeBSD again 2006-12-15 00:00:18 +00:00
Roy Marples
d3e2c11ab4 Make the consts sane 2006-12-14 23:47:56 +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
fb4477f477 Don't set the broadcast flag anymore as all BPF and Linux sockets should be
able to unicast correctly.
2006-12-11 13:16:28 +00:00
Roy Marples
94fdb30903 Fix yp.conf creation 2006-12-06 11:34:46 +00:00
Roy Marples
b4b0162f08 Compile fix for FreeBSD 2006-12-06 11:16:43 +00:00
Roy Marples
d7070a265e Update ChangeLog 2006-12-06 10:10:07 +00:00
Roy Marples
966be2e6e8 Tag 3.0.4 2006-12-06 10:06:51 +00:00
Roy Marples
40ec9a9deb Fix netmask thanks to Marc Duponcheel. 2006-12-06 10:02:03 +00:00
Roy Marples
71b1afde0f Send the current hostname by default. 2006-12-06 09:37:15 +00:00
Roy Marples
627bfed14e Revert mistaken commit 2006-12-05 10:12:50 +00:00
Roy Marples
92af7201ae Tag dhcpcd-3.0.3 2006-12-05 09:42:35 +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
b38bad32f4 Only include linux/if_addr.h for 2.6.19 kernels and better 2006-12-04 12:40:14 +00:00
Roy Marples
1f3464377d Include linux/if_addr.h so we compile on 2.6.19 kernels, thanks to AlexExtreme. 2006-12-04 09:56:40 +00:00
Roy Marples
ef95a74bcd Linux systems without glibc-2.3 don't have getifaddrs, so we define our own. 2006-12-03 10:28:57 +00:00
Roy Marples
1bc54d0eb6 Changed the default timeout to 20 seconds, allowing hme Sparc drivers to work. 2006-12-01 20:08:33 +00:00
Roy Marples
5f581197c4 Add userlen back 2006-12-01 16:22:15 +00:00
Roy Marples
24c57f1305 Set the rfds correctly so we can get a reply after re-sending a request.
Set the seconds elasped and maximum message size correctly in DHCP messages.
Now compiles on Linux 2.4 kernels.
2006-12-01 12:50:53 +00:00
Roy Marples
05dac403dd xmalloc dhcp objects so we can swap pointer around easily. 2006-11-30 15:58:45 +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
4e9d8ad4db Don't define CC 2006-11-27 21:32:54 +00:00
Roy Marples
804317ef98 Tweak Makefile 2006-11-27 21:13:01 +00:00
Roy Marples
e9b849fac0 Don't bundle the .svn dir in the Makefile 2006-11-27 20:45:59 +00:00
Roy Marples
cced195e70 Add dhcpcd-3 re-write 2006-11-27 20:23:22 +00:00