[ospfd] Consider all connected addresses when creating ospf interfaces
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.
diff --git a/ospfd/ChangeLog b/ospfd/ChangeLog
index a0ed909..0a2b999 100644
--- a/ospfd/ChangeLog
+++ b/ospfd/ChangeLog
@@ -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,
diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c
index 8ef80cb..dd5af5e 100644
--- a/ospfd/ospfd.c
+++ b/ospfd/ospfd.c
@@ -896,8 +896,6 @@
if ((ospf->router_id.s_addr != 0)
&& if_is_operative (ifp))
ospf_if_up (oi);
-
- break;
}
}
}