char *proto = argv[argc - 1]->text;
type = proto_redistnum(AFI_IP6, proto);
if (type < 0)
- return CMD_WARNING;
+ return CMD_WARNING_CONFIG_FAILED;
ospf6_asbr_redistribute_unset (type);
ospf6_asbr_redistribute_set (type);
char *proto = argv[idx_protocol]->text;
type = proto_redistnum(AFI_IP6, proto);
if (type < 0)
- return CMD_WARNING;
+ return CMD_WARNING_CONFIG_FAILED;
ospf6_asbr_redistribute_unset (type);
ospf6_asbr_routemap_set (type, argv[idx_word]->arg);
char *proto = argv[idx_protocol]->text;
type = proto_redistnum(AFI_IP6, proto);
if (type < 0)
- return CMD_WARNING;
+ return CMD_WARNING_CONFIG_FAILED;
ospf6_asbr_redistribute_unset (type);
vty_out (vty, "OSPF6 route-map add set failed.%s", VNL);
break;
}
- return CMD_WARNING;
+ return CMD_WARNING_CONFIG_FAILED;
}
/* add "set metric-type" */