diff options
author | pdw <> | 2014-01-19 20:28:31 +0000 |
---|---|---|
committer | pdw <> | 2014-01-19 20:28:31 +0000 |
commit | ceabf7a47a51d129368080ac04e692d5c3591244 (patch) | |
tree | d25a41a7e7e8a55fc0635324c0153c100742bdc3 /iftop.c | |
parent | 687861284d75260c17ff285557c12b0f2ad996f6 (diff) | |
download | iftop-ceabf7a47a51d129368080ac04e692d5c3591244.zip |
Fixed various compilation issues.
Diffstat (limited to 'iftop.c')
-rw-r--r-- | iftop.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -177,11 +177,11 @@ int in_filter_net(struct in_addr addr) { return ret; } -int __inline__ ip_addr_match(struct in_addr addr) { +static int __inline__ ip_addr_match(struct in_addr addr) { return addr.s_addr == if_ip_addr.s_addr; } -int __inline__ ip6_addr_match(struct in6_addr *addr) { +static int __inline__ ip6_addr_match(struct in6_addr *addr) { return IN6_ARE_ADDR_EQUAL(addr, &if_ip6_addr); } |