From: Roy Marples Date: Sun, 13 Apr 2008 15:29:09 +0000 (+0000) Subject: We should end options correctly. X-Git-Tag: v4.0.2~501 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a113226c99cb8e5715629470a04c9732f475ac5;p=thirdparty%2Fdhcpcd.git We should end options correctly. --- diff --git a/client.c b/client.c index 10c37f44..391df175 100644 --- a/client.c +++ b/client.c @@ -827,6 +827,7 @@ handle_timeout(struct if_state *state, const struct options *options) state->dhcp = xmalloc(sizeof(*state->dhcp)); memset(state->dhcp, 0, sizeof(*state->dhcp)); state->dhcp->yiaddr = lease->addr.s_addr; + state->dhcp->options[0] = DHCP_END; } #endif