summaryrefslogtreecommitdiffstats
path: root/customdhcpcd/src/configure.c
diff options
context:
space:
mode:
Diffstat (limited to 'customdhcpcd/src/configure.c')
-rw-r--r--customdhcpcd/src/configure.c2
1 files changed, 2 insertions, 0 deletions
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. */