]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
use a window size that is obvious in sniffs
authorAndrew Tridgell <tridge@samba.org>
Sun, 27 May 2007 07:23:35 +0000 (17:23 +1000)
committerAndrew Tridgell <tridge@samba.org>
Sun, 27 May 2007 07:23:35 +0000 (17:23 +1000)
(This used to be ctdb commit 4d167711a600ad7bb042a5df143dd282b0e50462)

ctdb/takeover/system.c

index 633e995307ec856d2500e90729acac09ad7abe21..61802a94da53a1e8f29164cc5353b8e790e92795 100644 (file)
@@ -218,6 +218,7 @@ int ctdb_sys_send_ack(const struct sockaddr_in *dest,
        pkt.tcp.dest     = dest->sin_port;
        pkt.tcp.ack      = 1;
        pkt.tcp.doff     = sizeof(pkt.tcp)/4;
+       pkt.tcp.window   = htons(1234);
        pkt.tcp.check    = tcp_checksum((uint16_t *)&pkt.tcp, sizeof(pkt.tcp), &pkt.ip);
 
        ret = sendto(s, &pkt, sizeof(pkt), 0, dest, sizeof(*dest));