From 8e17e75eac461805447e0927cccd7f290d68648f Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Wed, 20 Aug 2008 09:23:31 +1000 Subject: [PATCH] fix a bug in the tcp socketkiller for ipv6 (This used to be ctdb commit 83735951352a243da185031e4853e7e40c43a0fb) --- ctdb/common/system_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctdb/common/system_linux.c b/ctdb/common/system_linux.c index c7e66eb9761..1bf49033306 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;