optget doesn't return - sdhcp - simple dhcp client
(HTM) git clone git://git.codemadness.org/sdhcp
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 6d5cb4daf78d159d9a6446183956c7a7086f1b80
(DIR) parent 1c2db38abfb99b98dfcb3e13eab361e741c08d4e
(HTM) 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:
M sdhcp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) 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;