diff options
| author | Roy Marples <roy@marples.name> | 2010-03-05 15:47:46 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2010-03-05 15:47:46 +0000 |
| commit | d274a5320bd88618e6ba37da5f0dc4197dec56d8 (patch) | |
| tree | 613541cc75bc3a0aea57b45fafb0a44b9054d423 /if-bsd.c | |
| parent | fdbeed3d2b936cab9825d30338abadd12eec99aa (diff) | |
| download | dhcpcd-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.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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) |
