]> git.puffer.fish Git - mirror/frr.git/commitdiff
ospfd: fix typo and report the link name in the warning 12512/head
authorJafar Al-Gharaibeh <jafar@atcorp.com>
Mon, 12 Dec 2022 15:12:34 +0000 (09:12 -0600)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Tue, 13 Dec 2022 18:04:32 +0000 (18:04 +0000)
Submitted-by: Marc Boucher <marc@airvitesse.net>
Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
(cherry picked from commit bf8d8a5451b869a07c147ae1b31d2c2b52458b2a)

ospfd/ospf_lsa.c

index 4077adc3761b49caf4bd4945a918e096e35295d4..3e8b7b283d0df48e5c61e4b59f2677c611605bb3 100644 (file)
@@ -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;
 }