diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2022-09-15 17:18:42 +0200 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2022-09-20 14:10:42 +0200 |
commit | cab69e3f3d0e2a10eb2e731bb6294d8d80b87fd7 (patch) | |
tree | 97fb03741f4b613989f8e66b7f960319e2e0878b /pathd | |
parent | Merge pull request #11971 from opensourcerouting/fix/coccinelle_route_map_apply (diff) | |
download | frr-cab69e3f3d0e2a10eb2e731bb6294d8d80b87fd7.tar.xz frr-cab69e3f3d0e2a10eb2e731bb6294d8d80b87fd7.zip |
pathd: 'no mpls-te on' command was not working
Fix the 'no mpls-te on' command.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'pathd')
-rw-r--r-- | pathd/path_ted.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pathd/path_ted.c b/pathd/path_ted.c index 270c664da..7afa1468a 100644 --- a/pathd/path_ted.c +++ b/pathd/path_ted.c @@ -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; } |