Whamcloud - gitweb
LU-11299 lnet: use discovery for routing
[fs/lustre-release.git] / lnet / lnet / router_proc.c
index 5627e40..8d6b040 100644 (file)
@@ -234,8 +234,7 @@ proc_lnet_routes(struct ctl_table *table, int write, void __user *buffer,
                                      libcfs_net2str(net), hops,
                                      priority,
                                      alive ? "up" : "down",
-                                     /* TODO: replace with actual nid */
-                                     libcfs_nid2str(LNET_NID_ANY));
+                                     libcfs_nid2str(route->lr_nid));
                        LASSERT(tmpstr + tmpsiz - s > 0);
                }