|
|
|
|
697
|
wsopt->wsopt.length = sizeof ( wsopt->wsopt );
|
697
|
wsopt->wsopt.length = sizeof ( wsopt->wsopt );
|
698
|
wsopt->wsopt.scale = TCP_RX_WINDOW_SCALE;
|
698
|
wsopt->wsopt.scale = TCP_RX_WINDOW_SCALE;
|
699
|
spopt = iob_push ( iobuf, sizeof ( *spopt ) );
|
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
|
spopt->spopt.kind = TCP_OPTION_SACK_PERMITTED;
|
701
|
spopt->spopt.kind = TCP_OPTION_SACK_PERMITTED;
|
702
|
spopt->spopt.length = sizeof ( spopt->spopt );
|
702
|
spopt->spopt.length = sizeof ( spopt->spopt );
|
703
|
}
|
703
|
}
|