From: Roy Marples Date: Sun, 30 Mar 2008 08:07:37 +0000 (+0000) Subject: Use d_droute. X-Git-Tag: v4.0.2~514 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f828cecf36a0b8457546b09963d16e192e5936e4;p=thirdparty%2Fdhcpcd.git Use d_droute. --- diff --git a/configure.c b/configure.c index 5cf24e04..ad9f8b84 100644 --- a/configure.c +++ b/configure.c @@ -666,9 +666,9 @@ configure(const struct options *options, struct interface *iface, if ((route->destination.s_addr || options->options & DHCPCD_GATEWAY) && (!up || !in_routes(dhcp->routes, route))) - del_route(iface->name, &route->destination, - &route->netmask, &route->gateway, - options->metric); + d_route(iface->name, &route->destination, + &route->netmask, &route->gateway, + options->metric); /* If we aren't up, then reset the interface as much as we can */ if (!up) { if (iface->previous_routes) {