diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-10-25 20:29:52 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-10-25 20:29:52 +0000 |
| commit | d64ff607e8a5b84cb3226bd38a5af09668a05fd3 (patch) | |
| tree | 5986c22d3fb8aaf17d64226a7cdd4fcd913fef2f /ospfd/ospf_te.c | |
| parent | e9e190f2452653469f652a04ef34294430787497 (diff) | |
| parent | 284a4a0c81516e3e18cb170272a280ea5121b6d6 (diff) | |
Merge branch 'cmaster-next' into vtysh-grammar
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Conflicts:
ospfd/ospf_ri.c
zebra/zebra_vty.c
Diffstat (limited to 'ospfd/ospf_te.c')
| -rw-r--r-- | ospfd/ospf_te.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ospfd/ospf_te.c b/ospfd/ospf_te.c index 43b0b0ebfa..80156e81f6 100644 --- a/ospfd/ospf_te.c +++ b/ospfd/ospf_te.c @@ -2452,6 +2452,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; } |
