aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README1
-rw-r--r--src/fnettrace-dns/main.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/README b/README
index 79573ce6c..03a68e95c 100644
--- a/README
+++ b/README
@@ -968,6 +968,7 @@ slowpeek (https://github.com/slowpeek)
968 - refine appimage example in docs 968 - refine appimage example in docs
969 - allow resolution of .local names with avahi-daemon in the apparmor profile 969 - allow resolution of .local names with avahi-daemon in the apparmor profile
970 - allow access to avahi-daemon in apparmor/firejail-default 970 - allow access to avahi-daemon in apparmor/firejail-default
971 - make appimage examples consistent with --appimage option short description
971smitsohu (https://github.com/smitsohu) 972smitsohu (https://github.com/smitsohu)
972 - read-only kde4 services directory 973 - read-only kde4 services directory
973 - enhanced mediathekview profile 974 - enhanced mediathekview profile
diff --git a/src/fnettrace-dns/main.c b/src/fnettrace-dns/main.c
index 28c76a901..eb2eb7238 100644
--- a/src/fnettrace-dns/main.c
+++ b/src/fnettrace-dns/main.c
@@ -35,7 +35,7 @@ void print_dns(uint32_t ip_src, unsigned char *pkt) {
35 time_t seconds = time(NULL); 35 time_t seconds = time(NULL);
36 struct tm *t = localtime(&seconds); 36 struct tm *t = localtime(&seconds);
37 37
38 int nxdomain = (*(pkt + 3) & 0x03 == 0x03)? 1: 0; 38 int nxdomain = ((*(pkt + 3) & 0x03) == 0x03)? 1: 0;
39 39
40 // expecting a single question count 40 // expecting a single question count
41 if (pkt[4] != 0 || pkt[5] != 1) 41 if (pkt[4] != 0 || pkt[5] != 1)