diff options
author | Michael Brown | 2007-01-14 17:22:10 +0100 |
---|---|---|
committer | Michael Brown | 2007-01-14 17:22:10 +0100 |
commit | c953c1a1c3b7bec62a3a622a93ec641417bed656 (patch) | |
tree | ea5ea023ea4c3fea7d5d51ec52a9063d86e8979c /src/net/ipv4.c | |
parent | Add the "initrd" command (diff) | |
download | ipxe-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/ipv4.c')
-rw-r--r-- | src/net/ipv4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ipv4.c b/src/net/ipv4.c index 1155ad90..f6486514 100644 --- a/src/net/ipv4.c +++ b/src/net/ipv4.c @@ -384,7 +384,7 @@ static int ipv4_tx ( struct pk_buff *pkb, } if ( ! netdev ) { DBG ( "IPv4 has no route to %s\n", inet_ntoa ( iphdr->dest ) ); - rc = -EHOSTUNREACH; + rc = -ENETUNREACH; goto err; } |