summaryrefslogtreecommitdiffstats
path: root/ospfd
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@users.noreply.github.com>2021-01-29 12:01:03 +0100
committerGitHub <noreply@github.com>2021-01-29 12:01:03 +0100
commitecf497baeda77bfd040818c7bd2ad412cac76d66 (patch)
tree1f312fd88681456a0f44796b86492d432db1f812 /ospfd
parentMerge pull request #7960 from kishorekunal01/bgp_fix_allowas_in (diff)
parentlibs, ospfd: remove inet_ntoa (diff)
downloadfrr-ecf497baeda77bfd040818c7bd2ad412cac76d66.tar.xz
frr-ecf497baeda77bfd040818c7bd2ad412cac76d66.zip
Merge pull request #7953 from mjstapp/fix_more_ntoa
libs, ospfd: remove inet_ntoa
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_lsa.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c
index 8268039f2..6ed049756 100644
--- a/ospfd/ospf_lsa.c
+++ b/ospfd/ospf_lsa.c
@@ -2835,9 +2835,10 @@ static int ospf_maxage_lsa_remover(struct thread *thread)
*/
if (old != lsa) {
flog_err(EC_OSPF_LSA_MISSING,
- "%s: LSA[Type%d:%s]: LSA not in LSDB",
- __func__, lsa->data->type,
- inet_ntoa(lsa->data->id));
+ "%s: LSA[Type%d:%pI4]: LSA not in LSDB",
+ __func__, lsa->data->type,
+ &lsa->data->id);
+
continue;
}
ospf_discard_from_db(ospf, lsa->lsdb, lsa);