summaryrefslogtreecommitdiffstats
path: root/src/dhcpcd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-09-19 15:05:51 +0100
committerRoy Marples <roy@marples.name>2020-09-19 15:05:51 +0100
commit8f78bde8042dace0e0330a58d430a0c7c8a32199 (patch)
treee6aaab73d9b37eabfe63c5544e9d9aa9180e9a75 /src/dhcpcd.c
parent1efd31813fde826b000fbc40234ea89979ef73a8 (diff)
downloaddhcpcd-8f78bde8042dace0e0330a58d430a0c7c8a32199.tar.xz
Adjust prior so that message is logged before starting dev
Also add os_init incase other os need similar in the future.
Diffstat (limited to 'src/dhcpcd.c')
-rw-r--r--src/dhcpcd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dhcpcd.c b/src/dhcpcd.c
index 1c863b5e..8fbb6212 100644
--- a/src/dhcpcd.c
+++ b/src/dhcpcd.c
@@ -2367,6 +2367,8 @@ printpidfile:
}
#endif
+ os_init();
+
#if defined(BSD) && defined(INET6)
/* Disable the kernel RTADV sysctl as early as possible. */
if (ctx.options & DHCPCD_IPV6 && ctx.options & DHCPCD_IPV6RS)