diff options
| author | Mark Stapp <mjs@voltanet.io> | 2020-10-22 10:01:20 -0400 | 
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2020-10-22 10:13:56 -0400 | 
| commit | ee2bbf7ce20616e09f45b8b2f13e6fcba921c57d (patch) | |
| tree | 7895f00a1be28c63c30377264abde11f7a8f8c4d /pimd/pim_nht.c | |
| parent | 84de5a245a3eb17619588a535b9f408ce802a8c9 (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_nht.c')
| -rw-r--r-- | pimd/pim_nht.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_nht.c b/pimd/pim_nht.c index 7fc7dafed6..f691e8b755 100644 --- a/pimd/pim_nht.c +++ b/pimd/pim_nht.c @@ -810,9 +810,9 @@ int pim_parse_nexthop_update(ZAPI_CALLBACK_ARGS)  			if (PIM_DEBUG_PIM_NHT)  				zlog_debug( -					"%s: NHT addr %pFX(%s) %d-nhop via %s(%s) type %d distance:%u metric:%u ", +					"%s: NHT addr %pFX(%s) %d-nhop via %pI4(%s) type %d distance:%u metric:%u ",  					__func__, &nhr.prefix, pim->vrf->name, -					i + 1, inet_ntoa(nexthop->gate.ipv4), +					i + 1, &nexthop->gate.ipv4,  					ifp->name, nexthop->type, nhr.distance,  					nhr.metric);  | 
