]> git.puffer.fish Git - mirror/frr.git/commitdiff
[ospfd] Consider all connected addresses when creating ospf interfaces
authorAndrew J. Schorr <ajschorr@alumni.princeton.edu>
Mon, 4 Dec 2006 18:26:37 +0000 (18:26 +0000)
committerAndrew J. Schorr <ajschorr@alumni.princeton.edu>
Mon, 4 Dec 2006 18:26:37 +0000 (18:26 +0000)
2006-12-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* ospfd.c: (ospf_network_run) Remove an offending 'break' statement.
  Previously, after creating a single ospf_interface on a given
  network interface, the code would skip to the next interface
  without considering other connected addresses on the interface.
  After removing the 'break', we now consider all connected addresses.

ospfd/ChangeLog
ospfd/ospfd.c

index a0ed90951f7e058fb6f580725b1a55d4bbc79c88..0a2b9994e3a6f0b7f00d02c7b9c3baf6d7a9a76c 100644 (file)
@@ -1,3 +1,11 @@
+2006-12-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
+
+       * ospfd.c: (ospf_network_run) Remove an offending 'break' statement.
+         Previously, after creating a single ospf_interface on a given
+         network interface, the code would skip to the next interface
+         without considering other connected addresses on the interface.
+         After removing the 'break', we now consider all connected addresses.
+
 2006-11-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
 
        * ospf_zebra.c: (ospf_router_id_update_zebra,
index 8ef80cb3c398cad33ea1adc19abf8f32a8782581..dd5af5e9a405fb81103423b420cbaee8296149f4 100644 (file)
@@ -896,8 +896,6 @@ ospf_network_run (struct ospf *ospf, struct prefix *p, struct ospf_area *area)
                if ((ospf->router_id.s_addr != 0)
                    && if_is_operative (ifp)) 
                  ospf_if_up (oi);
-
-               break;
              }
        }
     }