diff options
-rw-r--r-- | llmnr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -99,7 +99,7 @@ static void llmnr_respond(unsigned int ifindex, const struct llmnr_hdr *hdr, return; /* No AAAA responses if IPv6 is disabled */ - if (llmnr_ipv6 < 0 && qtype == LLMNR_QTYPE_AAAA) + if (!llmnr_ipv6 && qtype == LLMNR_QTYPE_AAAA) return; switch (qtype) { |