]> git.puffer.fish Git - mirror/frr.git/commitdiff
ospfd: add advertising router IP to Opaque capability mismatch error message 12585/head
authorJafar Al-Gharaibeh <jafar@atcorp.com>
Sun, 25 Dec 2022 01:56:29 +0000 (19:56 -0600)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Mon, 2 Jan 2023 21:13:09 +0000 (21:13 +0000)
Submitted-by Marc Boucher <marc@airvitesse.net>
Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
(cherry picked from commit eab190351fc4460477274cec106989392bcff1b5)

ospfd/ospf_packet.c

index 8c87a568c0bc38d23737447316325ed6803b8596..0cb9d027254fa61d0ec66b9459d75a22904b4c38 100644 (file)
@@ -1169,8 +1169,8 @@ static void ospf_db_desc_proc(struct stream *s, struct ospf_interface *oi,
                if (IS_OPAQUE_LSA(lsah->type)
                    && !CHECK_FLAG(nbr->options, OSPF_OPTION_O)) {
                        flog_warn(EC_OSPF_PACKET,
-                                 "LSA[Type%d:%pI4]: Opaque capability mismatch?",
-                                 lsah->type, &lsah->id);
+                                 "LSA[Type%d:%pI4] from %pI4: Opaque capability mismatch?",
+                                 lsah->type, &lsah->id, &lsah->adv_router);
                        OSPF_NSM_EVENT_SCHEDULE(nbr, NSM_SeqNumberMismatch);
                        return;
                }