summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_intra.c
diff options
context:
space:
mode:
Diffstat (limited to 'ospf6d/ospf6_intra.c')
-rw-r--r--ospf6d/ospf6_intra.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ospf6d/ospf6_intra.c b/ospf6d/ospf6_intra.c
index bf7c59b9e7..c971c6180e 100644
--- a/ospf6d/ospf6_intra.c
+++ b/ospf6d/ospf6_intra.c
@@ -289,9 +289,8 @@ int ospf6_router_lsa_originate(struct thread *thread)
if ((caddr_t)lsdesc
== (caddr_t)router_lsa
+ sizeof(struct ospf6_router_lsa)) {
- if (IS_OSPF6_DEBUG_ORIGINATE(ROUTER))
- zlog_debug(
- "Size limit setting for Router-LSA too short");
+ zlog_warn(
+ "Size limit setting for Router-LSA too short");
return 0;
}