summaryrefslogtreecommitdiff
path: root/llmnr.c
diff options
context:
space:
mode:
Diffstat (limited to 'llmnr.c')
-rw-r--r--llmnr.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/llmnr.c b/llmnr.c
index 3dde9e6..f4ea97d 100644
--- a/llmnr.c
+++ b/llmnr.c
@@ -55,7 +55,6 @@ static bool llmnr_name_matches(const uint8_t *query)
for (i = 1; i < llmnr_hostname[0]; i++)
if (tolower(query[i]) != tolower(llmnr_hostname[i]))
return false;
- log_info("hostname matches\n");
return true;
}
@@ -109,8 +108,6 @@ static void llmnr_respond(unsigned int ifindex, const struct llmnr_hdr *hdr,
n = iface_addr_lookup(ifindex, family, addrs, ARRAY_SIZE(addrs));
- log_info("Responding with %zu addresses\n", n);
-
/*
* This is the max response length (i.e. using all IPv6 addresses and
* not message compression). We might not use all of it.
@@ -168,8 +165,6 @@ static void llmnr_respond(unsigned int ifindex, const struct llmnr_hdr *hdr,
memcpy(pkt_put(p, addr_size), addr, addr_size);
}
- log_info("Response packet length: %zu\n", pkt_len(p));
-
if (sendto(sock, p->data, pkt_len(p), 0, sa, sizeof(struct sockaddr_in)) < 0) {
log_err("Failed to send response: %s\n", strerror(errno));
}