summaryrefslogtreecommitdiff
path: root/llmnr.c
diff options
context:
space:
mode:
Diffstat (limited to 'llmnr.c')
-rw-r--r--llmnr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/llmnr.c b/llmnr.c
index 73f5168..64fcabd 100644
--- a/llmnr.c
+++ b/llmnr.c
@@ -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) {