summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <jafar@atcorp.com>2023-01-06 09:27:18 -0600
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-01-07 18:44:06 +0000
commit2e0a2a46b477ddee454ef41179fb4d3e9bc44bf8 (patch)
treee490426644da2eaa0980fe912893f225df8ba187
parentedc5dce610484cc4f20839a921dad1ee5c49c232 (diff)
ospfd: report the router IP with Opaque capability mismatch
Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com> (cherry picked from commit 8935b0fac623c84665282e81b59302b02388ad48)
-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 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;
}