diff options
author | Michael Brown | 2007-01-10 03:25:11 +0100 |
---|---|---|
committer | Michael Brown | 2007-01-10 03:25:11 +0100 |
commit | f008b77ba2b7d921a9d765c9931694e9c7d13ee9 (patch) | |
tree | 1464a93bb9b01a2ae75ed87aa5b5d1e52b91392d /src/net/udp.c | |
parent | Add interface management commands (diff) | |
download | ipxe-f008b77ba2b7d921a9d765c9931694e9c7d13ee9.tar.gz ipxe-f008b77ba2b7d921a9d765c9931694e9c7d13ee9.tar.xz ipxe-f008b77ba2b7d921a9d765c9931694e9c7d13ee9.zip |
Allow an explicit network device to be specified for IP-layer
transmissions.
Diffstat (limited to 'src/net/udp.c')
-rw-r--r-- | src/net/udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/udp.c b/src/net/udp.c index 0a9cea8b..32dfaec3 100644 --- a/src/net/udp.c +++ b/src/net/udp.c @@ -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 ); } /** |