diff options
author | Andrew J. Schorr <ajschorr@alumni.princeton.edu> | 2006-12-04 18:26:37 +0000 |
---|---|---|
committer | Andrew J. Schorr <ajschorr@alumni.princeton.edu> | 2006-12-04 18:26:37 +0000 |
commit | ed589c157781f92bcff0e0b1664c75b2dc6d6965 (patch) | |
tree | 6908c528e8480225931a10c020c7a0602539143b /ospfd/ospfd.c | |
parent | a39275d76d33e2b17b8f90441863ca030412a664 (diff) |
[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.
Diffstat (limited to 'ospfd/ospfd.c')
-rw-r--r-- | ospfd/ospfd.c | 2 |
1 files changed, 0 insertions, 2 deletions
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; } } } |