From: Roy Marples Date: Mon, 9 Jun 2008 18:29:33 +0000 (+0000) Subject: Fix compile for NO_FORK users. X-Git-Tag: v4.0.2~287 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6c87f0e3a0e7028654a8d78b3d1f5054740bf62;p=thirdparty%2Fdhcpcd.git Fix compile for NO_FORK users. --- diff --git a/client.c b/client.c index 31d33f24..938ad3e8 100644 --- a/client.c +++ b/client.c @@ -498,7 +498,7 @@ client_setup(struct if_state *state, const struct options *options) iface->addr.s_addr = lease->addr.s_addr; iface->net.s_addr = lease->net.s_addr; get_option_addr(&lease->server.s_addr, - state->dhcp, DHCP_SERVERID); + state->offer, DHCP_SERVERID); } #endif } else {