zephyr/subsys/net/lib/dns
Jukka Rissanen 9647db8808 net: dns: Avoid superfluous error message
If we have configured the DNS dispatcher to be only as a
responder but receive a query response, or if we are only
as a resolver but receive a query, then the dispatcher just
ignores the packet and returns -ENOENT.

Unfortunately we print an error message in this case

[00:10:18.818,000] <err> net_dns_dispatcher: DNS recv error (-2)

which is totally unnecessary and causes confusion so do not
print an error message in this case.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-07-02 14:11:15 +02:00
..
CMakeLists.txt net: dns: Allow using resolver and responder at the same time 2024-06-03 09:49:01 +02:00
dispatcher.c net: dns: Avoid superfluous error message 2024-07-02 14:11:15 +02:00
dns_cache.c net: dns: Add DNS cache for improved performance 2024-03-15 08:37:29 +00:00
dns_cache.h net: dns: Add DNS cache for improved performance 2024-03-15 08:37:29 +00:00
dns_internal.h
dns_pack.c net: dns: Do not fail if cache flush bit is set in class 2024-06-26 09:27:07 -04:00
dns_pack.h net: dns: Add helper for figuring out the query type 2024-06-03 09:49:01 +02:00
dns_sd.c net: lib: dns_sd: Fix buffer sizes on query processing 2024-06-24 12:42:16 -04:00
dns_sd.h net: dns: remove deprecated function 2024-06-18 14:32:56 -04:00
Kconfig net: dns: Allow using resolver and responder at the same time 2024-06-03 09:49:01 +02:00
llmnr_responder.c net: dns: llmnr_responder: Fix uinit variable 2024-06-24 12:41:06 -04:00
mdns_responder.c net: dns: mdns_responder: Interface name might miss terminating null 2024-06-24 14:48:03 -04:00
resolve.c net: lib: dns: Fix error code returned when socket creation failed 2024-06-21 08:44:29 -04:00