Merge pull request #15367 from rampxxxx/ldp_sync_cleanup

ospfd: fix cli shown in running config when turning off ldp-sync
This commit is contained in:
Russ White 2024-02-20 10:15:39 -05:00 committed by GitHub
commit 5362d43456
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -774,7 +774,7 @@ DEFPY (no_ospf_mpls_ldp_sync,
"Disable MPLS LDP-IGP Sync\n")
{
VTY_DECLVAR_INSTANCE_CONTEXT(ospf, ospf);
ospf_ldp_sync_gbl_exit(ospf, false);
ospf_ldp_sync_gbl_exit(ospf, true);
return CMD_SUCCESS;
}