mirror of
https://github.com/ipxe/ipxe
synced 2025-12-16 01:21:10 +03:00
Allow an explicit network device to be specified for IP-layer
transmissions.
This commit is contained in:
@@ -162,7 +162,7 @@ int udp_sendto ( struct udp_connection *conn, struct sockaddr_tcpip *peer,
|
||||
ntohs ( udphdr->len ) );
|
||||
|
||||
/* Send it to the next layer for processing */
|
||||
return tcpip_tx ( pkb, &udp_protocol, peer, &udphdr->chksum );
|
||||
return tcpip_tx ( pkb, &udp_protocol, peer, NULL, &udphdr->chksum );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user