summaryrefslogtreecommitdiffstats
path: root/src/net/ipv6.c
diff options
context:
space:
mode:
authorMichael Brown2007-01-14 17:22:10 +0100
committerMichael Brown2007-01-14 17:22:10 +0100
commitc953c1a1c3b7bec62a3a622a93ec641417bed656 (patch)
treeea5ea023ea4c3fea7d5d51ec52a9063d86e8979c /src/net/ipv6.c
parentAdd the "initrd" command (diff)
downloadipxe-c953c1a1c3b7bec62a3a622a93ec641417bed656.tar.gz
ipxe-c953c1a1c3b7bec62a3a622a93ec641417bed656.tar.xz
ipxe-c953c1a1c3b7bec62a3a622a93ec641417bed656.zip
Use -ENETUNREACH to mean "no reachable network device exists, don't bother
retrying".
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 b158254f..e38e314a 100644
--- a/src/net/ipv6.c
+++ b/src/net/ipv6.c
@@ -239,7 +239,7 @@ static int ipv6_tx ( struct pk_buff *pkb,
/* No network interface identified */
if ( !netdev ) {
DBG ( "No route to host %s\n", inet6_ntoa ( ip6hdr->dest ) );
- rc = -EHOSTUNREACH;
+ rc = -ENETUNREACH;
goto err;
}