summaryrefslogtreecommitdiffstats
path: root/ldpd/neighbor.c
diff options
context:
space:
mode:
authorKaren Schoener <karen@voltanet.io>2020-07-22 18:10:59 +0200
committerlynne <lynne@voltanet.io>2020-09-09 16:45:41 +0200
commite1894ff70f77f39ae993f875a96d6cb1282ffd1a (patch)
tree2b626ddfa147660799e092679808e6e5fd6c055e /ldpd/neighbor.c
parentMerge pull request #5702 from vishaldhingra/bgp_nb (diff)
downloadfrr-e1894ff70f77f39ae993f875a96d6cb1282ffd1a.tar.xz
frr-e1894ff70f77f39ae993f875a96d6cb1282ffd1a.zip
ldpd: Adding support for LDP IGP Synchronization
Signed-off-by: Lynne Morrison <lynne@voltanet.io> Signed-off-by: Karen Schoener <karen@voltanet.io>
Diffstat (limited to 'ldpd/neighbor.c')
-rw-r--r--ldpd/neighbor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ldpd/neighbor.c b/ldpd/neighbor.c
index 6143beb6b..236d3eaa5 100644
--- a/ldpd/neighbor.c
+++ b/ldpd/neighbor.c
@@ -764,6 +764,8 @@ nbr_act_session_operational(struct nbr *nbr)
/* this is necessary to avoid ipc synchronization issues */
nbr_update_peerid(nbr);
+ ldp_sync_fsm_nbr_event(nbr, LDP_SYNC_EVT_LDP_SYNC_START);
+
memset(&lde_nbr, 0, sizeof(lde_nbr));
lde_nbr.id = nbr->id;
lde_nbr.v4_enabled = nbr->v4_enabled;