From ed589c157781f92bcff0e0b1664c75b2dc6d6965 Mon Sep 17 00:00:00 2001 From: "Andrew J. Schorr" Date: Mon, 4 Dec 2006 18:26:37 +0000 Subject: [ospfd] Consider all connected addresses when creating ospf interfaces 2006-12-04 Andrew J. Schorr * 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 | 8 ++++++++ ospfd/ospfd.c | 2 -- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'ospfd') diff --git a/ospfd/ChangeLog b/ospfd/ChangeLog index a0ed9095..0a2b9994 100644 --- a/ospfd/ChangeLog +++ b/ospfd/ChangeLog @@ -1,3 +1,11 @@ +2006-12-04 Andrew J. Schorr + + * 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 * ospf_zebra.c: (ospf_router_id_update_zebra, diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c index 8ef80cb3..dd5af5e9 100644 --- a/ospfd/ospfd.c +++ b/ospfd/ospfd.c @@ -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; } } } -- cgit v1.2.1