From 89dc6f3478c8619ecdfb84cad7aafef9636bda17 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Mon, 16 Feb 2015 18:55:06 +0100 Subject: llmnr: Remove some unnecessary log messages Signed-off-by: Tobias Klauser --- llmnr.c | 5 ----- 1 file changed, 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)); } -- cgit v1.2.3-54-g00ecf