optget doesn't return - sdhcp - simple dhcp client | |
git clone git://git.codemadness.org/sdhcp | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 6d5cb4daf78d159d9a6446183956c7a7086f1b80 | |
parent 1c2db38abfb99b98dfcb3e13eab361e741c08d4e | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Fri, 25 Apr 2014 22:02:11 +0200 | |
optget doesn't return | |
Signed-off-by: Hiltjo Posthuma <[email protected]> | |
Diffstat: | |
M sdhcp.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; |