From acc847c999fe0aceecc880e017619bf707483aaa Mon Sep 17 00:00:00 2001 From: Mark Stapp Date: Wed, 27 Jan 2021 15:00:10 -0500 Subject: libs, ospfd: remove inet_ntoa inet_ntoa not permitted - replace instances. Signed-off-by: Mark Stapp --- ospfd/ospf_lsa.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ospfd/ospf_lsa.c') diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c index 72201355e..8e4cfa320 100644 --- a/ospfd/ospf_lsa.c +++ b/ospfd/ospf_lsa.c @@ -2854,9 +2854,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); -- cgit v1.2.3