resolved: improve some log messages a bit
Indicate thar we ignore invalid messages
This commit is contained in:
parent
2a6658ef55
commit
2c6bf498b6
|
@ -727,7 +727,7 @@ static int on_dns_packet(sd_event_source *s, int fd, uint32_t revents, void *use
|
|||
DNS_PACKET_ID(p) == t->id)
|
||||
dns_transaction_process_reply(t, p);
|
||||
else
|
||||
log_debug("Invalid DNS packet, ignoring.");
|
||||
log_debug("Invalid DNS UDP packet, ignoring.");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -117,7 +117,7 @@ static int on_llmnr_packet(sd_event_source *s, int fd, uint32_t revents, void *u
|
|||
|
||||
dns_scope_process_query(scope, NULL, p);
|
||||
} else
|
||||
log_debug("Invalid LLMNR UDP packet.");
|
||||
log_debug("Invalid LLMNR UDP packet, ignoring.");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue