summaryrefslogtreecommitdiffstats
path: root/src/net/ipv6.c
diff options
context:
space:
mode:
authorMichael Brown2007-01-10 03:25:11 +0100
committerMichael Brown2007-01-10 03:25:11 +0100
commitf008b77ba2b7d921a9d765c9931694e9c7d13ee9 (patch)
tree1464a93bb9b01a2ae75ed87aa5b5d1e52b91392d /src/net/ipv6.c
parentAdd interface management commands (diff)
downloadipxe-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/ipv6.c')
-rw-r--r--src/net/ipv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ipv6.c b/src/net/ipv6.c
index 1801891b..b158254f 100644
--- a/src/net/ipv6.c
+++ b/src/net/ipv6.c
@@ -202,11 +202,11 @@ void ipv6_dump ( struct ip6_header *ip6hdr ) {
static int ipv6_tx ( struct pk_buff *pkb,
struct tcpip_protocol *tcpip,
struct sockaddr_tcpip *st_dest,
+ struct net_device *netdev,
uint16_t *trans_csum ) {
struct sockaddr_in6 *dest = ( struct sockaddr_in6* ) st_dest;
struct in6_addr next_hop;
struct ipv6_miniroute *miniroute;
- struct net_device *netdev = NULL;
uint8_t ll_dest_buf[MAX_LL_ADDR_LEN];
const uint8_t *ll_dest = ll_dest_buf;
int rc;