summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2023-01-09 19:36:11 +0200
committerGitHub <noreply@github.com>2023-01-09 19:36:11 +0200
commitc2853adde61305528383ea656852bf55a83d82f6 (patch)
treee490426644da2eaa0980fe912893f225df8ba187
parentedc5dce610484cc4f20839a921dad1ee5c49c232 (diff)
parent2e0a2a46b477ddee454ef41179fb4d3e9bc44bf8 (diff)
Merge pull request #12607 from FRRouting/mergify/bp/stable/8.4/pr-12605
ospfd: report the router IP with opaque capability mismatch (backport #12605)
-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;
}