diff options
author | netblue30 <netblue30@protonmail.com> | 2023-08-08 16:27:18 -0400 |
---|---|---|
committer | netblue30 <netblue30@protonmail.com> | 2023-08-08 16:27:18 -0400 |
commit | c4962789fc88e349a0c6a6c51af4a7cfc09fcc99 (patch) | |
tree | 83e69a67a17f9962846175e3f5cd0856d5e50de0 /src/fnettrace-dns | |
parent | Merge branch 'master' of ssh://github.com/netblue30/firejail (diff) | |
download | firejail-c4962789fc88e349a0c6a6c51af4a7cfc09fcc99.tar.gz firejail-c4962789fc88e349a0c6a6c51af4a7cfc09fcc99.tar.zst firejail-c4962789fc88e349a0c6a6c51af4a7cfc09fcc99.zip |
nettrace stats
Diffstat (limited to 'src/fnettrace-dns')
-rw-r--r-- | src/fnettrace-dns/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fnettrace-dns/main.c b/src/fnettrace-dns/main.c index 6324a17db..38222fe2e 100644 --- a/src/fnettrace-dns/main.c +++ b/src/fnettrace-dns/main.c | |||
@@ -66,7 +66,7 @@ void print_dns(uint32_t ip_src, unsigned char *pkt) { | |||
66 | 66 | ||
67 | // filter output | 67 | // filter output |
68 | char tmp[sizeof(last)]; | 68 | char tmp[sizeof(last)]; |
69 | snprintf(tmp, sizeof(last), "%02d:%02d:%02d %-15s %s (type %u)%s", | 69 | snprintf(tmp, sizeof(last), "%02d:%02d:%02d %-15s DNS %s (type %u)%s", |
70 | t->tm_hour, t->tm_min, t->tm_sec, ip, pkt + 12 + 1, | 70 | t->tm_hour, t->tm_min, t->tm_sec, ip, pkt + 12 + 1, |
71 | type, (nxdomain)? " NXDOMAIN": ""); | 71 | type, (nxdomain)? " NXDOMAIN": ""); |
72 | if (strcmp(tmp, last)) { | 72 | if (strcmp(tmp, last)) { |