|
@@ -473,8 +473,8 @@ static int tcp_xmit ( struct tcp_connection *tcp, int force_send ) {
|
473
|
473
|
memset ( tsopt->nop, TCP_OPTION_NOP, sizeof ( tsopt->nop ) );
|
474
|
474
|
tsopt->tsopt.kind = TCP_OPTION_TS;
|
475
|
475
|
tsopt->tsopt.length = sizeof ( tsopt->tsopt );
|
476
|
|
- tsopt->tsopt.tsval = ntohl ( currticks() );
|
477
|
|
- tsopt->tsopt.tsecr = ntohl ( tcp->ts_recent );
|
|
476
|
+ tsopt->tsopt.tsval = htonl ( currticks() );
|
|
477
|
+ tsopt->tsopt.tsecr = htonl ( tcp->ts_recent );
|
478
|
478
|
}
|
479
|
479
|
if ( ! ( flags & TCP_SYN ) )
|
480
|
480
|
flags |= TCP_PSH;
|