psmisc/psmisc-22.3-fuser-ipv6.patch
kzak 90c0406a46 - update to upstream 22.3
- backport ipv6 bugfix from upstream CVS
- clean up spec file
2007-03-01 12:30:38 +00:00

12 lines
432 B
Diff

--- psmisc-22.3/src/fuser.c.kzak 2007-03-01 13:20:17.000000000 +0100
+++ psmisc-22.3/src/fuser.c 2007-03-01 13:01:38.000000000 +0100
@@ -249,7 +249,7 @@
ip_tmp->name = this_name;
ip_tmp->lcl_port = lcl_port;
ip_tmp->rmt_port = rmt_port;
- memcpy(&(ip_tmp->rmt_port),&(rmt_port),sizeof(struct in6_addr));
+ memcpy(&(ip_tmp->rmt_address),&(rmt_address),sizeof(struct in6_addr));
ip_tmp->next = ip_head;
*ip_list = ip_tmp;