summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'ospf6d/ospf6_interface.c')
-rw-r--r--ospf6d/ospf6_interface.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ospf6d/ospf6_interface.c b/ospf6d/ospf6_interface.c
index adfc14879..d647b94df 100644
--- a/ospf6d/ospf6_interface.c
+++ b/ospf6d/ospf6_interface.c
@@ -1137,7 +1137,7 @@ DEFUN (ipv6_ospf6_ifmtu,
{
vty_out (vty, "%s's ospf6 ifmtu cannot go beyond physical mtu (%d)\n",
ifp->name, ifp->mtu6);
- return CMD_WARNING;
+ return CMD_WARNING_CONFIG_FAILED;
}
if (oi->ifmtu < ifmtu)
@@ -1241,7 +1241,7 @@ DEFUN (ipv6_ospf6_cost,
if (lcost > UINT32_MAX)
{
vty_out (vty, "Cost %ld is out of range\n", lcost);
- return CMD_WARNING;
+ return CMD_WARNING_CONFIG_FAILED;
}
if (oi->cost == lcost)
@@ -1298,7 +1298,7 @@ DEFUN (auto_cost_reference_bandwidth,
if (refbw < 1 || refbw > 4294967)
{
vty_out (vty, "reference-bandwidth value is invalid\n");
- return CMD_WARNING;
+ return CMD_WARNING_CONFIG_FAILED;
}
/* If reference bandwidth is changed. */