Allow an explicit network device to be specified for IP-layer

transmissions.
This commit is contained in:
Michael Brown
2007-01-10 02:25:11 +00:00
parent 9869659895
commit f008b77ba2
7 changed files with 32 additions and 17 deletions

View File

@@ -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 );
}
/**