From 8024e86b5ce80beb2870654cf29308a0f1f208b8 Mon Sep 17 00:00:00 2001 From: Niklas Date: Thu, 1 Sep 2011 16:16:07 +0200 Subject: bigger changes in the checkConnectivity method. using now route command to delete and add the default route. for this i am writing the gateways for every interface into a new file. located at /var/tmp/gateways_ --- customdhcpcd/src/configure.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'customdhcpcd/src/configure.c') diff --git a/customdhcpcd/src/configure.c b/customdhcpcd/src/configure.c index 91e3c9f..1eaf8f6 100644 --- a/customdhcpcd/src/configure.c +++ b/customdhcpcd/src/configure.c @@ -554,6 +554,8 @@ int configure (const options_t *options, interface_t *iface, if (dhcp->address.s_addr == 0) up = 0; + logGatewayToFile(iface, dhcp); + /* Remove old routes. * Always do this as the interface may have >1 address not added by us * so the routes we added may still exist. */ -- cgit v1.2.3-55-g7522