Break up the old chbind into ncontext, nattribute, and naddress.
[util-vserver.git] / src / chbind.c
index 4fb628e..f017c33 100644 (file)
@@ -316,7 +316,7 @@ int main (int argc, char *argv[])
       case CMD_SILENT          :  is_silent = true; break;
       case CMD_BCAST           :  readBcast(optarg, &bcast); break;
 #if defined(VC_ENABLE_API_NET)
-      case CMD_NID             :  nid = Evc_xidopt2xid(optarg,true); break;
+      case CMD_NID             :  nid = Evc_nidopt2nid(optarg,true); break;
 #else
       case CMD_NID             :  WRITE_MSG(2, "WARNING: --nid is not supported by this version\n"); break;
 #endif