summaryrefslogtreecommitdiffstats
path: root/src/if-bsd.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/if-bsd.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/if-bsd.c')
-rw-r--r--src/if-bsd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/if-bsd.c b/src/if-bsd.c
index 5e748a4e..98bcda63 100644
--- a/src/if-bsd.c
+++ b/src/if-bsd.c
@@ -122,6 +122,12 @@ struct rtm
};
int
+os_init(void)
+{
+ return 0;
+}
+
+int
if_init(__unused struct interface *iface)
{
/* BSD promotes secondary address by default */