summaryrefslogtreecommitdiff
path: root/pimd/pim_upstream.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2020-10-22 10:01:20 -0400
committerMark Stapp <mjs@voltanet.io>2020-10-22 10:13:56 -0400
commitee2bbf7ce20616e09f45b8b2f13e6fcba921c57d (patch)
tree7895f00a1be28c63c30377264abde11f7a8f8c4d /pimd/pim_upstream.c
parent84de5a245a3eb17619588a535b9f408ce802a8c9 (diff)
pimd: replace inet_ntoa
Replace all use of inet_ntoa, using %pI4 or inet_ntoa instead Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'pimd/pim_upstream.c')
-rw-r--r--pimd/pim_upstream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_upstream.c b/pimd/pim_upstream.c
index 312a7069df..6bb25c436a 100644
--- a/pimd/pim_upstream.c
+++ b/pimd/pim_upstream.c
@@ -951,8 +951,8 @@ static struct pim_upstream *pim_upstream_new(struct pim_instance *pim,
if (PIM_DEBUG_PIM_TRACE) {
zlog_debug(
- "%s: Created Upstream %s upstream_addr %s ref count %d increment",
- __func__, up->sg_str, inet_ntoa(up->upstream_addr),
+ "%s: Created Upstream %s upstream_addr %pI4 ref count %d increment",
+ __func__, up->sg_str, &up->upstream_addr,
up->ref_count);
}