diff options
author | Mark Stapp <mjs@voltanet.io> | 2020-10-22 16:46:14 +0200 |
---|---|---|
committer | Mark Stapp <mjs@voltanet.io> | 2020-10-22 21:49:56 +0200 |
commit | 903a72269a8d5bd2fe60f29787b0e857db35b0d5 (patch) | |
tree | fa9bec62b837c422cf06e55d90bfe9361d8eeed3 /ldpd/ldp_zebra.c | |
parent | Merge pull request #7343 from ton31337/fix/prefix2str_to_pFX (diff) | |
download | frr-903a72269a8d5bd2fe60f29787b0e857db35b0d5.tar.xz frr-903a72269a8d5bd2fe60f29787b0e857db35b0d5.zip |
ldpd: replace inet_ntoa
Replace all use of inet_ntoa; use pI4 or inet_ntop instead.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'ldpd/ldp_zebra.c')
-rw-r--r-- | ldpd/ldp_zebra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldpd/ldp_zebra.c b/ldpd/ldp_zebra.c index 16e9adc9d..3852d8d23 100644 --- a/ldpd/ldp_zebra.c +++ b/ldpd/ldp_zebra.c @@ -359,7 +359,7 @@ ldp_router_id_update(ZAPI_CALLBACK_ARGS) if (bad_addr_v4(router_id.u.prefix4)) return (0); - debug_zebra_in("router-id update %s", inet_ntoa(router_id.u.prefix4)); + debug_zebra_in("router-id update %pI4", &router_id.u.prefix4); global.rtr_id.s_addr = router_id.u.prefix4.s_addr; main_imsg_compose_ldpe(IMSG_RTRID_UPDATE, 0, &global.rtr_id, |