diff options
-rw-r--r-- | src/providers/ipa/ipa_dyndns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_dyndns.c b/src/providers/ipa/ipa_dyndns.c index 9d7a5b6ca..972f19ad1 100644 --- a/src/providers/ipa/ipa_dyndns.c +++ b/src/providers/ipa/ipa_dyndns.c @@ -212,7 +212,7 @@ static bool ok_for_dns(struct sockaddr *sa) snprintf(straddr, INET6_ADDRSTRLEN, "unknown"); } - if (IN_MULTICAST(addr->s_addr)) { + if (IN_MULTICAST(ntohl(addr->s_addr))) { DEBUG(SSSDBG_FUNC_DATA, ("Multicast IPv4 address %s\n", straddr)); return false; } else if (inet_netof(*addr) == IN_LOOPBACKNET) { |