diff --git a/net/lnet/lnet/router.c b/net/lnet/lnet/router.c index 892164b..4ab587d 100644 --- a/net/lnet/lnet/router.c +++ b/net/lnet/lnet/router.c @@ -448,7 +448,7 @@ static void lnet_shuffle_seed(void) CERROR("Cannot add route with gateway %s. There is no local interface configured on LNet %s\n", libcfs_nid2str(gateway), libcfs_net2str(LNET_NIDNET(gateway))); - return -EINVAL; + return -EHOSTUNREACH; } /* Assume net, route, all new */