summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'ospf6d/ospf6_interface.c')
-rw-r--r--ospf6d/ospf6_interface.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/ospf6d/ospf6_interface.c b/ospf6d/ospf6_interface.c
index 148f2dc50d..6763e7457f 100644
--- a/ospf6d/ospf6_interface.c
+++ b/ospf6d/ospf6_interface.c
@@ -701,20 +701,17 @@ int interface_up(struct thread *thread)
/* check physical interface is up */
if (!if_is_operative(oi->interface)) {
- if (IS_OSPF6_DEBUG_INTERFACE)
- zlog_debug(
- "Interface %s is down, can't execute [InterfaceUp]",
- oi->interface->name);
+ zlog_warn("Interface %s is down, can't execute [InterfaceUp]",
+ oi->interface->name);
return 0;
}
/* check interface has a link-local address */
if (!(ospf6_interface_get_linklocal_address(oi->interface)
|| if_is_loopback_or_vrf(oi->interface))) {
- if (IS_OSPF6_DEBUG_INTERFACE)
- zlog_debug(
- "Interface %s has no link local address, can't execute [InterfaceUp]",
- oi->interface->name);
+ zlog_warn(
+ "Interface %s has no link local address, can't execute [InterfaceUp]",
+ oi->interface->name);
return 0;
}
@@ -731,7 +728,7 @@ int interface_up(struct thread *thread)
/* If no area assigned, return */
if (oi->area == NULL) {
- zlog_debug(
+ zlog_warn(
"%s: Not scheduleing Hello for %s as there is no area assigned yet",
__func__, oi->interface->name);
return 0;
@@ -1640,7 +1637,7 @@ void ospf6_interface_start(struct ospf6_interface *oi)
ospf6_interface_enable(oi);
/* If the router is ABR, originate summary routes */
- if (ospf6_is_router_abr(ospf6))
+ if (ospf6_check_and_set_router_abr(ospf6))
ospf6_abr_enable_area(oa);
}