]> git.puffer.fish Git - matthieu/frr.git/commitdiff
Yet another DIS election fix from LIU Xin - update dis_record of
authorhasso <hasso>
Tue, 21 Sep 2004 14:23:01 +0000 (14:23 +0000)
committerhasso <hasso>
Tue, 21 Sep 2004 14:23:01 +0000 (14:23 +0000)
adjacencies when isisd becomes DIS.

isisd/ChangeLog
isisd/isis_dr.c

index 1c4524473df4509c09613079602392ffed6a3f38..2b49c696136652fae424b23399cedeeca318e929 100644 (file)
@@ -1,3 +1,7 @@
+2004-09-21 LIU Xin <lx at ns.6test.edu.cn>
+
+       * isis_dr.c: Update dis_record of adjacencies when isisd becomes DIS.
+
 2004-09-21 Hasso Tepper <hasso at quagga.net>
 
        * isis_lsp.c: Put IPv4 prefixes into reachability TLVs, not
index d7f3dfdc0fbec2f54b4fea709f8dfe1f6b01bb31..c6c9e584faeb86e1dbbc0d3e944998f24c960ff4 100644 (file)
@@ -211,8 +211,17 @@ isis_dr_elect (struct isis_circuit *circuit, int level)
       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);
        }