diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/notify-dns-slaves.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/notify-dns-slaves.c b/tools/notify-dns-slaves.c index 83ce910..a21ca1b 100644 --- a/tools/notify-dns-slaves.c +++ b/tools/notify-dns-slaves.c @@ -613,6 +613,7 @@ process_notify (const char *zone, const char *server, uint64_t delay) if (rc == SANY_AF_DNS) { memset (&hints, 0, sizeof (hints)); hints.ai_family = PF_UNSPEC; + hints.ai_protocol = IPPROTO_UDP; hints.ai_socktype = SOCK_DGRAM; hints.ai_flags = AI_ADDRCONFIG | AI_NUMERICSERV; SANY_TYPE (notif->address) = 0; |