http://git.etherboot.org
/
gpxe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use -ENETUNREACH to mean "no reachable network device exists, don't bother
[gpxe.git]
/
src
/
net
/
ipv4.c
diff --git
a/src/net/ipv4.c
b/src/net/ipv4.c
index
1155ad9
..
f648651
100644
(file)
--- 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 ) );
}
if ( ! netdev ) {
DBG ( "IPv4 has no route to %s\n", inet_ntoa ( iphdr->dest ) );
- rc = -E
HOS
TUNREACH;
+ rc = -E
NE
TUNREACH;
goto err;
}
goto err;
}