X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lnet%2Flnet%2Fconfig.c;fp=lnet%2Flnet%2Fconfig.c;h=08609e3d9423808eb2d442f2c539afea6e0c09e1;hp=81eaa39a8444a53fe374b9deedb0d0f7815667a5;hb=0a414b1077a2f9dbc02539683453ae7dd729d5a7;hpb=1ee5d4021a7123d43465b0db8cf2114944b4a980 diff --git a/lnet/lnet/config.c b/lnet/lnet/config.c index 81eaa39..08609e3 100644 --- a/lnet/lnet/config.c +++ b/lnet/lnet/config.c @@ -1178,7 +1178,7 @@ lnet_parse_route(char *str, int *im_a_router) LASSERT(net != LNET_NET_ANY); list_for_each_entry(ltb2, &gateways, ltb_list) { - LASSERT(libcfs_strnid(&nid, ltb->ltb_text) == 0); + LASSERT(libcfs_strnid(&nid, ltb2->ltb_text) == 0); if (lnet_islocalnid(&nid)) { *im_a_router = 1;