if (ret == 0)
{
vty_outln (vty, "Can't turn on IP forwarding");
- return CMD_WARNING;
+ return CMD_WARNING_CONFIG_FAILED;
}
return CMD_SUCCESS;
if (ret != 0)
{
vty_outln (vty, "Can't turn off IP forwarding");
- return CMD_WARNING;
+ return CMD_WARNING_CONFIG_FAILED;
}
return CMD_SUCCESS;
if (ret == 0)
{
vty_outln (vty, "Can't turn on IPv6 forwarding");
- return CMD_WARNING;
+ return CMD_WARNING_CONFIG_FAILED;
}
return CMD_SUCCESS;
if (ret != 0)
{
vty_outln (vty, "Can't turn off IPv6 forwarding");
- return CMD_WARNING;
+ return CMD_WARNING_CONFIG_FAILED;
}
return CMD_SUCCESS;