Skip to content

Commit 2c6bf49

Browse files
committed
resolved: improve some log messages a bit
Indicate thar we ignore invalid messages
1 parent 2a6658e commit 2c6bf49

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/resolve/resolved-dns-transaction.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ static int on_dns_packet(sd_event_source *s, int fd, uint32_t revents, void *use
727727
DNS_PACKET_ID(p) == t->id)
728728
dns_transaction_process_reply(t, p);
729729
else
730-
log_debug("Invalid DNS packet, ignoring.");
730+
log_debug("Invalid DNS UDP packet, ignoring.");
731731

732732
return 0;
733733
}

src/resolve/resolved-llmnr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ static int on_llmnr_packet(sd_event_source *s, int fd, uint32_t revents, void *u
117117

118118
dns_scope_process_query(scope, NULL, p);
119119
} else
120-
log_debug("Invalid LLMNR UDP packet.");
120+
log_debug("Invalid LLMNR UDP packet, ignoring.");
121121

122122
return 0;
123123
}

0 commit comments

Comments
 (0)