diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2015-02-16 18:55:06 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2015-02-16 18:55:06 +0100 |
commit | 89dc6f3478c8619ecdfb84cad7aafef9636bda17 (patch) | |
tree | 824640086e1df64d2b986ca73f9468915ffc9af6 /llmnr.c | |
parent | 546fd8a2c668e9817f469d0139f936962492919a (diff) |
llmnr: Remove some unnecessary log messages
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'llmnr.c')
-rw-r--r-- | llmnr.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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)); } |