summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2022-12-14 06:51:29 -0500
committerGitHub <noreply@github.com>2022-12-14 06:51:29 -0500
commitaa0c54afbca317d6d04da199dd637ce97aaac9cc (patch)
treee87d14f241898ddd7d85149985e647f835af8c2a
parent4842032026a7208ce26a0ca92158a42c6153ec0d (diff)
parent64ce24a9e456154c8249dd4d0ce642c8926892d5 (diff)
Merge pull request #12512 from FRRouting/mergify/bp/stable/8.4/pr-12498
ospfd: fix typo and report the link name in the warning (backport #12498)
-rw-r--r--ospfd/ospf_lsa.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c
index 4077adc376..3e8b7b283d 100644
--- a/ospfd/ospf_lsa.c
+++ b/ospfd/ospf_lsa.c
@@ -426,8 +426,10 @@ struct ospf_neighbor *ospf_nbr_lookup_ptop(struct ospf_interface *oi)
/* PtoP link must have only 1 neighbor. */
if (ospf_nbr_count(oi, 0) > 1)
- flog_warn(EC_OSPF_PTP_NEIGHBOR,
- "Point-to-Point link has more than 1 neighobrs.");
+ flog_warn(
+ EC_OSPF_PTP_NEIGHBOR,
+ "Point-to-Point link on interface %s has more than 1 neighbor.",
+ oi->ifp->name);
return nbr;
}