summaryrefslogtreecommitdiffstats
path: root/customdhcpcd/src/logwriter.c
diff options
context:
space:
mode:
Diffstat (limited to 'customdhcpcd/src/logwriter.c')
-rw-r--r--customdhcpcd/src/logwriter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/customdhcpcd/src/logwriter.c b/customdhcpcd/src/logwriter.c
index d41bbfb..1e34947 100644
--- a/customdhcpcd/src/logwriter.c
+++ b/customdhcpcd/src/logwriter.c
@@ -197,7 +197,7 @@ void logGatewayToFile(const interface_t *iface, const dhcp_t *dhcp) {
route_t *route;
char path[QTSOCKETADDRESSLENGTH];
- strcpy(path, DEFAULT_GATEWAY_INFO_LOCATION);
+ strcpy(path, DEFAULT_INTERFACE_CONF_LOCATION);
strcat(path, iface->name);
syslog(LOG_INFO, "[fbgui] try to open file: %s", path);