X-Git-Url: http://git.etherboot.org/gpxe.git/blobdiff_plain/8edf8f6fa816a99e093ac2269a9440aa9c0707e0..c953c1a1c3b7bec62a3a622a93ec641417bed656:/src/net/ipv4.c?ds=sidebyside 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; }