1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

use a window size that is obvious in sniffs

(This used to be ctdb commit 4d167711a600ad7bb042a5df143dd282b0e50462)
This commit is contained in:
Andrew Tridgell 2007-05-27 17:23:35 +10:00
parent 922d054bca
commit 99e38ed6ab

View 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));