summaryrefslogtreecommitdiffstats
path: root/pimd/pim_zebra.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2015-02-04 06:32:28 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2015-02-04 06:32:28 +0100
commitb3c6afe9fdc8c65d71abde3a2f26525b87189297 (patch)
tree9c496a76960036ccccd56a319bc1779a2bb91cea /pimd/pim_zebra.c
parent1b47764f50cc074ba795d2b4477a3bc2372a8d9b (diff)
downloadquagga-b3c6afe9fdc8c65d71abde3a2f26525b87189297.tar.bz2
quagga-b3c6afe9fdc8c65d71abde3a2f26525b87189297.tar.xz
Revert "pimd: Revert: Explicitly restart zclient update connection."
This reverts commit 199f85ade39f751dd493fe011107736c9b168953. This depends on the zebra reconnect changes, which we're not picking up at this point. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_zebra.c')
-rw-r--r--pimd/pim_zebra.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pimd/pim_zebra.c b/pimd/pim_zebra.c
index f1840245..63d029b2 100644
--- a/pimd/pim_zebra.c
+++ b/pimd/pim_zebra.c
@@ -66,6 +66,8 @@ static void zclient_broken(struct zclient *zclient)
/* discard connected addresses because zclient lib will reassign
them upon reconnection */
if_connected_reset_all();
+
+ zclient_init(qpim_zclient_update, ZEBRA_ROUTE_PIM); /* reconnect */
}
/* Router-id update message from zebra. */