diff options
author | Craig Small <csmall@enc.com.au> | 2014-05-19 22:56:50 +1000 |
---|---|---|
committer | Craig Small <csmall@enc.com.au> | 2014-05-19 22:56:50 +1000 |
commit | 7e6abc85011baedd81ceda824921357ac175f57e (patch) | |
tree | 326bccfb399b4d979fdb70c3d5630159b5d20135 /src | |
parent | e4bbd8011ab08cf1da4abce3aeb8658ce951e1c2 (diff) |
Fixed v4 versus v6 problem
fuser -n tcp 80 always worked because the v4 or v6 problem didnt hit
single ports, but any ipv4 or ipv6 remote address wouldn't work.
Caught by Coverity CID46269
Diffstat (limited to 'src')
-rw-r--r-- | src/fuser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fuser.c b/src/fuser.c index 8d9bd52..4e16d67 100644 --- a/src/fuser.c +++ b/src/fuser.c @@ -528,7 +528,7 @@ parse_mounts(struct names *this_name, struct device_list **dev_list, #ifdef WITH_IPV6 int -parse_inet(struct names *this_name, const int ipv6_only, const int ipv4_only, +parse_inet(struct names *this_name, const int ipv4_only, const int ipv6_only, struct ip_connections **ip_list, struct ip6_connections **ip6_list) #else int parse_inet(struct names *this_name, struct ip_connections **ip_list) |