aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/dhcp.c
AgeCommit message (Collapse)Author
2015-11-03dhcp leanup: remove flag_get() and flag_chk()Rob Landley
2015-01-01Switch a lot of strncpy() calls to xstrncpy().Rob Landley
2015-01-01strncpy(optptr, hname, strlen(hname)) is really just strcpy().Rob Landley
2014-07-20Isaac Dunham spotted that dhcp was also reimplementing daemon().Rob Landley
2014-05-31Introduce xfork() and make commands use it, and make some WEXITSTATUS() use ↵Rob Landley
WIFEXITED() and WTERMSIG()+127.
2014-05-21dhcp client had a segfault, when DHCP message contained 'pad' option.Ashwini Sharma
The parsing logic kept checking for other options beyond __pad__ option, without checking if it was __end__ option after that or not.
2013-11-02Merge toynet.h into toys.h: musl supports it and micromanaging uClibc config ↵Rob Landley
options isn't very interesting anymore.
2013-09-03Convert dhcp/dhcpd from utoa() to sprintf().Rob Landley
2013-08-14DHCP client and server, from Ashwini Sharma.Rob Landley