|
@@ -697,7 +697,7 @@ static void tcp_xmit_sack ( struct tcp_connection *tcp, uint32_t sack_seq ) {
|
697
|
697
|
wsopt->wsopt.length = sizeof ( wsopt->wsopt );
|
698
|
698
|
wsopt->wsopt.scale = TCP_RX_WINDOW_SCALE;
|
699
|
699
|
spopt = iob_push ( iobuf, sizeof ( *spopt ) );
|
700
|
|
- memset ( spopt->nop, TCP_OPTION_NOP, sizeof ( spopt ) );
|
|
700
|
+ memset ( spopt->nop, TCP_OPTION_NOP, sizeof ( spopt->nop ) );
|
701
|
701
|
spopt->spopt.kind = TCP_OPTION_SACK_PERMITTED;
|
702
|
702
|
spopt->spopt.length = sizeof ( spopt->spopt );
|
703
|
703
|
}
|