summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_packet.c
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <jafar@atcorp.com>2023-01-06 16:27:18 +0100
committerJafar Al-Gharaibeh <jafar@atcorp.com>2023-01-06 16:27:18 +0100
commit8935b0fac623c84665282e81b59302b02388ad48 (patch)
treef0bef0903a6df36680a8e5a3c0c9d809ab5cd6c1 /ospfd/ospf_packet.c
parentMerge pull request #12568 from YutaroHayakawa/YutaroHayakawa/fpm-nexthop (diff)
downloadfrr-8935b0fac623c84665282e81b59302b02388ad48.tar.xz
frr-8935b0fac623c84665282e81b59302b02388ad48.zip
ospfd: report the router IP with Opaque capability mismatch
Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Diffstat (limited to 'ospfd/ospf_packet.c')
-rw-r--r--ospfd/ospf_packet.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c
index 0cb9d0272..b22fe5d99 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;
}