]> git.puffer.fish Git - mirror/frr.git/commitdiff
ospfd: fix typo and report the link name in the warning 12498/head
authorJafar Al-Gharaibeh <jafar@atcorp.com>
Mon, 12 Dec 2022 15:12:34 +0000 (09:12 -0600)
committerJafar Al-Gharaibeh <jafar@atcorp.com>
Mon, 12 Dec 2022 15:17:27 +0000 (09:17 -0600)
Submitted-by: Marc Boucher <marc@airvitesse.net>
Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
ospfd/ospf_lsa.c

index 92558e3c51ab51420016d019821e5120f0b424d0..ad4a9fd142d58ed61db8d180c47f17850ab72840 100644 (file)
@@ -428,8 +428,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;
 }