summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2012-03-20 13:59:41 +0000
committerRoy Marples <roy@marples.name>2012-03-20 13:59:41 +0000
commitcbcc6643e118ec51abf869852ecd0393e72ba4bc (patch)
tree3f530b2ab6e2420c1dd4128d6c344f83f67140b2
parent02f1a2afaca4292813a83293aecc27ccd9bbe453 (diff)
downloaddhcpcd-cbcc6643e118ec51abf869852ecd0393e72ba4bc.tar.xz
Fix an issue where we would only use a CSR if we had not warned about using it.
-rw-r--r--dhcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcp.c b/dhcp.c
index cfbc2a0e..91a60092 100644
--- a/dhcp.c
+++ b/dhcp.c
@@ -792,8 +792,8 @@ get_option_routes(const struct dhcp_message *dhcp,
"%s: using Classless Static Routes (RFC3442)",
ifname);
*opts |= DHCPCD_CSR_WARNED;
- return routes;
}
+ return routes;
}
/* OK, get our static routes first. */