From 2e0a2a46b477ddee454ef41179fb4d3e9bc44bf8 Mon Sep 17 00:00:00 2001 From: Jafar Al-Gharaibeh Date: Fri, 6 Jan 2023 09:27:18 -0600 Subject: [PATCH] ospfd: report the router IP with Opaque capability mismatch Signed-off-by: Jafar Al-Gharaibeh (cherry picked from commit 8935b0fac623c84665282e81b59302b02388ad48) --- ospfd/ospf_packet.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c index 0cb9d02725..b22fe5d99b 100644 --- a/ospfd/ospf_packet.c +++ b/ospfd/ospf_packet.c @@ -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; } -- 2.39.5