summaryrefslogtreecommitdiffstats
path: root/ldpd
diff options
context:
space:
mode:
Diffstat (limited to 'ldpd')
-rw-r--r--ldpd/lde.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ldpd/lde.c b/ldpd/lde.c
index ae883078d..2223e32f8 100644
--- a/ldpd/lde.c
+++ b/ldpd/lde.c
@@ -1756,6 +1756,7 @@ static void zclient_sync_init(unsigned short instance)
zclient_sync->sock = -1;
zclient_sync->redist_default = ZEBRA_ROUTE_LDP;
zclient_sync->instance = instance;
+ zclient_sync->session_id = 1; /* Distinguish from main session */
zclient_sync->privs = &lde_privs;
while (zclient_socket_connect(zclient_sync) < 0) {