Yet another DIS election fix from LIU Xin - update dis_record of
adjacencies when isisd becomes DIS.
diff --git a/isisd/isis_dr.c b/isisd/isis_dr.c
index d7f3dfd..c6c9e58 100644
--- a/isisd/isis_dr.c
+++ b/isisd/isis_dr.c
@@ -211,8 +211,17 @@
if (!circuit->u.bc.is_dr[level - 1])
{
/*
- * We are the DR -> commence
+ * We are the DR
*/
+
+ /* rotate the history log */
+ for (node = listhead (list); node; nextnode (node))
+ {
+ adj = getdata (node);
+ isis_check_dr_change (adj, level);
+ }
+
+ /* commence */
list_delete (list);
return isis_dr_commence (circuit, level);
}