summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ospfd/ospfd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c
index 20300676..6e205e64 100644
--- a/ospfd/ospfd.c
+++ b/ospfd/ospfd.c
@@ -724,8 +724,8 @@ ospf_network_run (struct ospf *ospf, struct prefix *p, struct ospf_area *area)
&& ! ospf_if_is_configured (&(addr->u.prefix4))
&& ospf_network_match_iface(co,p))
{
- assert(co);
- struct ospf_interface *oi;
+ struct ospf_interface *oi;
+ assert(co);
oi = ospf_if_new (ifp, co->address);
oi->connected = co;