Fix checker issues.
@@ -396,7 +396,7 @@ int ParseCmds(struct MMLinkCommandLine *mmlinkCmdLine, int argc, char *argv[])
PRINT_ERR("Missing required argument for --ip");
return -1;
}
- strncpy(mmlinkCmdLine->ip, tmp_optarg, 16);
+ strncpy(mmlinkCmdLine->ip, tmp_optarg, 15);
mmlinkCmdLine->ip[15] = '\0';
break;
