Whamcloud - gitweb
LU-10391 lustre: rename class_parse_nid to class_parse_nid4
[fs/lustre-release.git] / lustre / mgs / mgs_handler.c
index d1aba9f..20201ca 100644 (file)
@@ -313,7 +313,7 @@ static int mgs_check_failover_reg(struct mgs_target_info *mti)
 
        ptr = mti->mti_params;
        while (class_find_param(ptr, PARAM_FAILNODE, &ptr) == 0) {
-               while (class_parse_nid_quiet(ptr, &nid, &ptr) == 0) {
+               while (class_parse_nid4_quiet(ptr, &nid, &ptr) == 0) {
                        for (i = 0; i < mti->mti_nid_count; i++) {
                                if (nid == mti->mti_nids[i]) {
                                        LCONSOLE_WARN("Denying initial registration attempt from nid %s, specified as failover\n",