summaryrefslogtreecommitdiff
path: root/flowtop.c
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2015-07-25 19:56:57 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2015-07-26 20:30:18 +0200
commit0d6a4c0750f059f5be0c0c30be093decb4977ef7 (patch)
tree05fb2ac82fe1025bb133eead45fde35ac641432f /flowtop.c
parentdd415d04530b3b478b6fd1459cbfc8271e913eb1 (diff)
flowtop: Convert bool in flow_entry_get_extended_is_dns(...)
Use bool as return type in flow_entry_get_extended_is_dns(...) func. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'flowtop.c')
-rw-r--r--flowtop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/flowtop.c b/flowtop.c
index 0927ff5..b094c44 100644
--- a/flowtop.c
+++ b/flowtop.c
@@ -517,7 +517,7 @@ enum flow_entry_direction {
flow_entry_dst,
};
-static inline int flow_entry_get_extended_is_dns(struct flow_entry *n)
+static inline bool flow_entry_get_extended_is_dns(struct flow_entry *n)
{
/* We don't want to analyze / display DNS itself, since we
* use it to resolve reverse dns.