mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 13:27:53 +00:00
staticd: replace inet_ntoa
Replace inet_ntoa with pI4 Signed-off-by: Mark Stapp <mjs@voltanet.io>
This commit is contained in:
parent
53bb7f9bb3
commit
4a3873a319
@ -365,8 +365,7 @@ int static_config(struct vty *vty, struct static_vrf *svrf, afi_t afi,
|
|||||||
|
|
||||||
switch (nh->type) {
|
switch (nh->type) {
|
||||||
case STATIC_IPV4_GATEWAY:
|
case STATIC_IPV4_GATEWAY:
|
||||||
vty_out(vty, " %s",
|
vty_out(vty, " %pI4", &nh->addr.ipv4);
|
||||||
inet_ntoa(nh->addr.ipv4));
|
|
||||||
break;
|
break;
|
||||||
case STATIC_IPV6_GATEWAY:
|
case STATIC_IPV6_GATEWAY:
|
||||||
vty_out(vty, " %s",
|
vty_out(vty, " %s",
|
||||||
|
Loading…
Reference in New Issue
Block a user