summaryrefslogtreecommitdiffstats
path: root/customdhcpcd/src/logwriter.c
diff options
context:
space:
mode:
authorNiklas2011-10-05 17:39:35 +0200
committerNiklas2011-10-05 17:39:35 +0200
commitbe915d3cfcc639d6303bf8bc0e5ad825e0ef2f95 (patch)
treec52ed62bb40ad926271f0637f9a29aee2889543c /customdhcpcd/src/logwriter.c
parenttried to solve the timing problem. but failed. it is also enough to test for ... (diff)
downloadfbgui-be915d3cfcc639d6303bf8bc0e5ad825e0ef2f95.tar.gz
fbgui-be915d3cfcc639d6303bf8bc0e5ad825e0ef2f95.tar.xz
fbgui-be915d3cfcc639d6303bf8bc0e5ad825e0ef2f95.zip
modified the check for carrier signal. on autoUp==true: if no interface is in running state, the app will check the state of the interface several times (can be specified by us with the _ifUpCountdown value)
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);