sdhcp

simple dhcp client
git clone git://git.2f30.org/sdhcp
Log | Files | Refs | LICENSE

commit 6d5cb4daf78d159d9a6446183956c7a7086f1b80
parent 1c2db38abfb99b98dfcb3e13eab361e741c08d4e
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri, 25 Apr 2014 22:02:11 +0200

optget doesn't return

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
Msdhcp.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sdhcp.c b/sdhcp.c @@ -197,7 +197,7 @@ setdns(unsigned char dns[4]) close(fd); } -static unsigned char * +static void optget(Bootp *bp, void *data, int opt, int n) { unsigned char *p = bp->optdata;