if (ret < 0) {
vty_outln (vty, "There is same network configuration %s",
argv[1]->arg);
- return CMD_WARNING;
+ return CMD_WARNING_CONFIG_FAILED;
}
return CMD_SUCCESS;
if (ret < 0) {
vty_outln (vty, "can't find network %s",argv[2]->arg);
- return CMD_WARNING;
+ return CMD_WARNING_CONFIG_FAILED;
}
return CMD_SUCCESS;