Whamcloud - gitweb
LU-10391 lnet: migrate peer NI control to Netlink
[fs/lustre-release.git] / lnet / lnet / nidstrings.c
index 3c822a4..02fb117 100644 (file)
@@ -1170,6 +1170,10 @@ libcfs_strnid(struct lnet_nid *nid, const char *str)
                if (nf == NULL)
                        return -EINVAL;
        } else {
+               if (strcmp(str, "<?>") == 0) {
+                       memcpy(nid, &LNET_ANY_NID, sizeof(*nid));
+                       return 0;
+               }
                sep = str + strlen(str);
                net = LNET_MKNET(SOCKLND, 0);
                nf = libcfs_lnd2netstrfns(SOCKLND);