Commit Graph

12 Commits

Author SHA1 Message Date
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