diff options
| author | Russ White <russ@riw.us> | 2024-07-23 10:51:46 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-23 10:51:46 -0400 | 
| commit | fba472e848ae1fa050a398da3203e789efef33a5 (patch) | |
| tree | 294151ea21bfad4d991995ffe0cba3de0b95537b /ospfd | |
| parent | 9db9128c279923c1ae26f326a1ee3b984b87c79b (diff) | |
| parent | 5a70378a47f541b0354fbb96770dd0a65ec552b8 (diff) | |
Merge pull request #16376 from c-po/ospfd-ldp-sync
ospfd: fix internal ldp-sync state flags when feature is disabled
Diffstat (limited to 'ospfd')
| -rw-r--r-- | ospfd/ospf_ldp_sync.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_ldp_sync.c b/ospfd/ospf_ldp_sync.c index d1ef85c9a6..496ae5b4bd 100644 --- a/ospfd/ospf_ldp_sync.c +++ b/ospfd/ospf_ldp_sync.c @@ -901,7 +901,7 @@ DEFPY (no_mpls_ldp_sync,  	 *  stop holddown timer if running  	 *  restore ospf cost  	 */ -	SET_FLAG(ldp_sync_info->flags, LDP_SYNC_FLAG_IF_CONFIG); +	UNSET_FLAG(ldp_sync_info->flags, LDP_SYNC_FLAG_IF_CONFIG);  	ldp_sync_info->enabled = LDP_IGP_SYNC_DEFAULT;  	ldp_sync_info->state = LDP_IGP_SYNC_STATE_NOT_REQUIRED;  	EVENT_OFF(ldp_sync_info->t_holddown);  | 
