summaryrefslogtreecommitdiff
path: root/flowtop.c
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2015-07-25 19:56:58 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2015-07-26 20:30:53 +0200
commitba9ec2c4c5cfad8471eb1fffab4bdcc40404c2f9 (patch)
treed45861b63b04fc6688bd6564e89bf25e14a333c0 /flowtop.c
parent0d6a4c0750f059f5be0c0c30be093decb4977ef7 (diff)
flowtop: Use bool as parameter in get_port_inode(..)
Convert int -> bool as parameter. 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 b094c44..bff06ec 100644
--- a/flowtop.c
+++ b/flowtop.c
@@ -431,7 +431,7 @@ static void walk_processes(struct flow_entry *n)
closedir(dir);
}
-static int get_port_inode(uint16_t port, int proto, int is_ip6)
+static int get_port_inode(uint16_t port, int proto, bool is_ip6)
{
int ret = -ENOENT;
char path[128], buff[1024];