diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-11-16 21:04:11 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-18 20:34:18 +0100 |
commit | f715584018752950c45b79325e4a5a4a9a29db1c (patch) | |
tree | 2f49eecfbfea46950893c4007b24d9a12a7d53ee /src/resolve/resolved-manager.c | |
parent | Merge pull request #18679 from keszybz/rfkill-size-leniency (diff) | |
download | systemd-f715584018752950c45b79325e4a5a4a9a29db1c.tar.xz systemd-f715584018752950c45b79325e4a5a4a9a29db1c.zip |
resolved: improve debug logging on incoming messages a bit
Diffstat (limited to 'src/resolve/resolved-manager.c')
-rw-r--r-- | src/resolve/resolved-manager.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resolve/resolved-manager.c b/src/resolve/resolved-manager.c index fc5f8c79d3..2ed9f2d47b 100644 --- a/src/resolve/resolved-manager.c +++ b/src/resolve/resolved-manager.c @@ -926,8 +926,10 @@ int manager_recv(Manager *m, int fd, DnsProtocol protocol, DnsPacket **ret) { p->ifindex = manager_find_ifindex(m, p->family, &p->destination); } - *ret = TAKE_PTR(p); + log_debug("Received %s UDP packet of size %zu, ifindex=%i, ttl=%i, fragsize=%zu", + dns_protocol_to_string(protocol), p->size, p->ifindex, p->ttl, p->fragsize); + *ret = TAKE_PTR(p); return 1; } |