diff options
author | Donald Sharp <sharpd@nvidia.com> | 2020-10-26 14:36:17 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2020-10-26 14:38:23 +0100 |
commit | 9904db41e121f9ab656bbb8ad7b2a49a77c59943 (patch) | |
tree | 7c554d59ff7d99550820671104401e0c2c9962f7 /pbrd | |
parent | Merge pull request #7217 from AnuradhaKaruppiah/fix-es-del-regression (diff) | |
download | frr-9904db41e121f9ab656bbb8ad7b2a49a77c59943.tar.xz frr-9904db41e121f9ab656bbb8ad7b2a49a77c59943.zip |
pbrd: Remove inet_ntoa usage from pbr
Convert over to using %pI4 for the last inet_ntoa
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pbrd')
-rw-r--r-- | pbrd/pbr_zebra.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pbrd/pbr_zebra.c b/pbrd/pbr_zebra.c index b8ee97463..697c65ca4 100644 --- a/pbrd/pbr_zebra.c +++ b/pbrd/pbr_zebra.c @@ -408,10 +408,10 @@ static int pbr_zebra_nexthop_update(ZAPI_CALLBACK_ARGS) for (i = 0; i < nhr.nexthop_num; i++) { DEBUGD(&pbr_dbg_zebra, - "%s: \tType: %d: vrf: %d, ifindex: %d gate: %s", + "%s: \tType: %d: vrf: %d, ifindex: %d gate: %pI4", __func__, nhr.nexthops[i].type, nhr.nexthops[i].vrf_id, nhr.nexthops[i].ifindex, - inet_ntoa(nhr.nexthops[i].gate.ipv4)); + &nhr.nexthops[i].gate.ipv4); } } |