]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix csr's, #81.
authorRoy Marples <roy@marples.name>
Mon, 19 May 2008 22:37:48 +0000 (22:37 +0000)
committerRoy Marples <roy@marples.name>
Mon, 19 May 2008 22:37:48 +0000 (22:37 +0000)
dhcp.c

diff --git a/dhcp.c b/dhcp.c
index 0b65cde59182983b244fb87c1900f23018209168..f0c164d33e9adb6f29ef946f60362381e52a50df 100644 (file)
--- 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);