mirror of
https://github.com/ipxe/ipxe
synced 2025-12-17 18:11:49 +03:00
Allow an explicit network device to be specified for IP-layer
transmissions.
This commit is contained in:
@@ -309,7 +309,8 @@ static int tcp_senddata_conn ( struct tcp_connection *conn, int force_send ) {
|
||||
DBGC ( conn, "\n" );
|
||||
|
||||
/* Transmit packet */
|
||||
return tcpip_tx ( pkb, &tcp_protocol, &conn->peer, &tcphdr->csum );
|
||||
return tcpip_tx ( pkb, &tcp_protocol, &conn->peer,
|
||||
NULL, &tcphdr->csum );
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -465,7 +466,8 @@ static int tcp_send_reset ( struct tcp_connection *conn,
|
||||
DBGC ( conn, "\n" );
|
||||
|
||||
/* Transmit packet */
|
||||
return tcpip_tx ( pkb, &tcp_protocol, &conn->peer, &tcphdr->csum );
|
||||
return tcpip_tx ( pkb, &tcp_protocol, &conn->peer,
|
||||
NULL, &tcphdr->csum );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user