aboutgitcodebugslistschat
diff options
context:
space:
mode:
-rw-r--r--dhcp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dhcp.c b/dhcp.c
index c1ac95e..46c258e 100644
--- a/dhcp.c
+++ b/dhcp.c
@@ -317,6 +317,7 @@ int dhcp(const struct ctx *c, const struct pool *p)
return -1;
memcpy(&opts[*type].c, val, *olen);
+ opts[*type].clen = *olen;
opt_off += *olen + 2;
}