diff options
Diffstat (limited to 'sebhbsd/freebsd/contrib/ntp/ntpd/ntp_io.c')
-rw-r--r-- | sebhbsd/freebsd/contrib/ntp/ntpd/ntp_io.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sebhbsd/freebsd/contrib/ntp/ntpd/ntp_io.c b/sebhbsd/freebsd/contrib/ntp/ntpd/ntp_io.c index f572255..eea40ed 100644 --- a/sebhbsd/freebsd/contrib/ntp/ntpd/ntp_io.c +++ b/sebhbsd/freebsd/contrib/ntp/ntpd/ntp_io.c @@ -1115,7 +1115,11 @@ create_wildcards( wildif->flags = INT_UP | INT_WILDCARD; wildif->ignore_packets = (ACTION_DROP == action); +#ifdef __rtems__ + wildif->fd = open_socket(&wildif->sin, 0, 0, wildif); +#else wildif->fd = open_socket(&wildif->sin, 0, 1, wildif); +#endif if (wildif->fd != INVALID_SOCKET) { wildipv6 = wildif; @@ -1166,7 +1170,11 @@ create_wildcards( SET_ADDR4N(&wildif->bcast, INADDR_ANY); SET_PORT(&wildif->bcast, port); #endif /* MCAST */ +#ifdef __rtems__ + wildif->fd = open_socket(&wildif->sin, 0, 0, wildif); +#else wildif->fd = open_socket(&wildif->sin, 0, 1, wildif); +#endif if (wildif->fd != INVALID_SOCKET) { wildipv4 = wildif; |