Whamcloud - gitweb
LU-11299 lnet: net aliveness
[fs/lustre-release.git] / lnet / lnet / router_proc.c
index 8d6b040..2c831a7 100644 (file)
@@ -689,7 +689,7 @@ proc_lnet_nis(struct ctl_table *table, int write, void __user *buffer,
                        int j;
 
                        if (the_lnet.ln_routing)
-                               last_alive = now - ni->ni_last_alive;
+                               last_alive = now - ni->ni_net->net_last_alive;
 
                        /* @lo forever alive */
                        if (ni->ni_net->net_lnd->lnd_type == LOLND)