Merge pull request #11972 from pguibert6WIND/mpls_te_on

pathd: 'no mpls-te on' command was not working
This commit is contained in:
Donald Sharp 2022-09-20 12:16:56 -04:00 committed by GitHub
commit 22432f22da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -385,7 +385,7 @@ DEFUN (no_path_ted,
"Disable the TE Database functionality\n")
/* clang-format on */
{
if (ted_state_g.enabled) {
if (!ted_state_g.enabled) {
PATH_TED_DEBUG("%s: PATHD-TED: OFF -> OFF", __func__);
return CMD_SUCCESS;
}