diff --git a/ospfd/ospf_te.c b/ospfd/ospf_te.c index c672500368..60fb7132cc 100644 --- a/ospfd/ospf_te.c +++ b/ospfd/ospf_te.c @@ -2457,6 +2457,11 @@ set_inter_as_mode (struct vty *vty, const char *mode_name, return CMD_WARNING; } } + else + { + vty_out (vty, "mpls-te has not been turned on%s", VTY_NEWLINE); + return CMD_WARNING; + } return CMD_SUCCESS; }