diff options
author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2008-08-20 09:23:31 +1000 |
---|---|---|
committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2008-08-20 09:23:31 +1000 |
commit | 8e17e75eac461805447e0927cccd7f290d68648f (patch) | |
tree | 03f9b04cdc8a06d43db7903784c4efd564c77a3a /ctdb/common/system_linux.c | |
parent | 37234887d9325b7d0a70c11c50bf5ddbad2eadb7 (diff) | |
download | samba-8e17e75eac461805447e0927cccd7f290d68648f.tar.gz samba-8e17e75eac461805447e0927cccd7f290d68648f.tar.xz samba-8e17e75eac461805447e0927cccd7f290d68648f.zip |
fix a bug in the tcp socketkiller for ipv6
(This used to be ctdb commit 83735951352a243da185031e4853e7e40c43a0fb)
Diffstat (limited to 'ctdb/common/system_linux.c')
-rw-r--r-- | ctdb/common/system_linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/common/system_linux.c b/ctdb/common/system_linux.c index c7e66eb976..1bf4903330 100644 --- a/ctdb/common/system_linux.c +++ b/ctdb/common/system_linux.c @@ -538,7 +538,7 @@ int ctdb_sys_read_tcp_packet(int s, void *private_data, src->ip6.sin6_addr = ip6->ip6_src; dst->ip6.sin6_family = AF_INET6; - dst->ip6.sin6_port = tcp->source; + dst->ip6.sin6_port = tcp->dest; dst->ip6.sin6_addr = ip6->ip6_dst; *ack_seq = tcp->ack_seq; |