Whamcloud - gitweb
LU-13837 lnet: Introduce constant for net ID of LNET_NID_ANY
[fs/lustre-release.git] / lustre / mgs / lproc_mgs.c
index 62d98e3..de08cd0 100644 (file)
@@ -93,7 +93,7 @@ static void seq_show_srpc_rules(struct seq_file *seq, const char *tgtname,
        for (i = 0; i < rset->srs_nrule; i++) {
                r = &rset->srs_rules[i];
 
-               if (r->sr_netid == LNET_NIDNET(LNET_NID_ANY))
+               if (r->sr_netid == LNET_NET_ANY)
                        net = "default";
                else
                        net = libcfs_net2str_r(r->sr_netid, net_buf,