summaryrefslogtreecommitdiffstats
path: root/if-bsd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2010-03-05 15:47:46 +0000
committerRoy Marples <roy@marples.name>2010-03-05 15:47:46 +0000
commitd274a5320bd88618e6ba37da5f0dc4197dec56d8 (patch)
tree613541cc75bc3a0aea57b45fafb0a44b9054d423 /if-bsd.c
parentfdbeed3d2b936cab9825d30338abadd12eec99aa (diff)
downloaddhcpcd-d274a5320bd88618e6ba37da5f0dc4197dec56d8.tar.xz
Set the broadcast flag for interfaces that say they need it.
Diffstat (limited to 'if-bsd.c')
-rw-r--r--if-bsd.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/if-bsd.c b/if-bsd.c
index 05a2d515..8ca2f28a 100644
--- a/if-bsd.c
+++ b/if-bsd.c
@@ -80,6 +80,13 @@ if_init(_unused struct interface *iface)
}
int
+if_conf(_unused struct interface *iface)
+{
+ /* No extra checks needed on BSD */
+ return 0;
+}
+
+int
init_sockets(void)
{
if ((socket_afnet = socket(AF_INET, SOCK_DGRAM, 0)) == -1)