diff options
author | Mark Stapp <mjs@voltanet.io> | 2020-10-22 20:19:10 +0200 |
---|---|---|
committer | Mark Stapp <mjs@voltanet.io> | 2020-10-22 22:25:41 +0200 |
commit | 4a3873a319f1fab2e2452bb6440c792cb8ebd6e6 (patch) | |
tree | a2be51135e79811b97b3f0377f4a4125378b5d2c /staticd | |
parent | ripd: replace inet_ntoa (diff) | |
download | frr-4a3873a319f1fab2e2452bb6440c792cb8ebd6e6.tar.xz frr-4a3873a319f1fab2e2452bb6440c792cb8ebd6e6.zip |
staticd: replace inet_ntoa
Replace inet_ntoa with pI4
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'staticd')
-rw-r--r-- | staticd/static_vty.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/staticd/static_vty.c b/staticd/static_vty.c index 6608811cc..e2eb8cb7a 100644 --- a/staticd/static_vty.c +++ b/staticd/static_vty.c @@ -365,8 +365,7 @@ int static_config(struct vty *vty, struct static_vrf *svrf, afi_t afi, switch (nh->type) { case STATIC_IPV4_GATEWAY: - vty_out(vty, " %s", - inet_ntoa(nh->addr.ipv4)); + vty_out(vty, " %pI4", &nh->addr.ipv4); break; case STATIC_IPV6_GATEWAY: vty_out(vty, " %s", |