]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ospfd: report the router IP with Opaque capability mismatch
authorJafar Al-Gharaibeh <jafar@atcorp.com>
Fri, 6 Jan 2023 15:27:18 +0000 (09:27 -0600)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Sat, 7 Jan 2023 18:44:06 +0000 (18:44 +0000)
Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
(cherry picked from commit 8935b0fac623c84665282e81b59302b02388ad48)

ospfd/ospf_packet.c

index 0cb9d027254fa61d0ec66b9459d75a22904b4c38..b22fe5d99b7fe12be260742ae9d18525f8512482 100644 (file)
@@ -1787,9 +1787,10 @@ static struct list *ospf_ls_upd_list_lsa(struct ospf_neighbor *nbr,
                                continue;
                        }
                } else if (IS_OPAQUE_LSA(lsah->type)) {
-                       flog_warn(EC_OSPF_PACKET,
-                                 "LSA[Type%d:%pI4]: Opaque capability mismatch?",
-                                 lsah->type, &lsah->id);
+                       flog_warn(
+                               EC_OSPF_PACKET,
+                               "LSA[Type%d:%pI4] from %pI4: Opaque capability mismatch?",
+                               lsah->type, &lsah->id, &lsah->adv_router);
                        continue;
                }