summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew J. Schorr <ajschorr@alumni.princeton.edu>2006-12-04 18:26:37 +0000
committerAndrew J. Schorr <ajschorr@alumni.princeton.edu>2006-12-04 18:26:37 +0000
commited589c157781f92bcff0e0b1664c75b2dc6d6965 (patch)
tree6908c528e8480225931a10c020c7a0602539143b
parenta39275d76d33e2b17b8f90441863ca030412a664 (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.
-rw-r--r--ospfd/ChangeLog8
-rw-r--r--ospfd/ospfd.c2
2 files changed, 8 insertions, 2 deletions
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 <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 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;
}
}
}