commit | 96b6dfe98793549aca6a7cc77eaf0957b1168ed2 | [log] [tgz] |
---|---|---|
author | Everton Marques <everton.marques@gmail.com> | Mon Sep 22 15:47:52 2014 -0300 |
committer | David Lamparter <equinox@opensourcerouting.org> | Wed Feb 04 06:08:00 2015 +0100 |
tree | 9c6d51b5365a65115e049a944e2205611acb0667 | |
parent | 679fab42343381f609527166f48dbf9ba19f3aab [diff] [blame] |
pim: Remove connected addresses on loss of zebra connection.
diff --git a/pimd/pim_zebra.c b/pimd/pim_zebra.c index 4cef422..b9b4dab 100644 --- a/pimd/pim_zebra.c +++ b/pimd/pim_zebra.c
@@ -63,7 +63,9 @@ pim_if_addr_del_all(ifp); } - /* upon return, zclient will discard connected addresses */ + /* discard connected addresses because zclient lib will reassign + them upon reconnection */ + if_connected_reset_all(); } /* Router-id update message from zebra. */