From: Roy Marples Date: Mon, 19 May 2008 22:37:48 +0000 (+0000) Subject: Fix csr's, #81. X-Git-Tag: v4.0.2~375 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efdc6936857ed58de5ab4fac0a22a10c038290de;p=thirdparty%2Fdhcpcd.git Fix csr's, #81. --- diff --git a/dhcp.c b/dhcp.c index 0b65cde5..f0c164d3 100644 --- a/dhcp.c +++ b/dhcp.c @@ -654,7 +654,7 @@ get_option_routes(const struct dhcp_message *dhcp) int len; /* If we have CSR's then we MUST use these only */ - p = get_option(dhcp, DHCP_CSR); + p = _get_option(dhcp, DHCP_CSR, &len, NULL); /* Check for crappy MS option */ if (!p) p = _get_option(dhcp, DHCP_MSCSR, &len, NULL);