summaryrefslogtreecommitdiff
path: root/zebra/zebra_fpm.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-10-22 18:39:04 -0400
committerGitHub <noreply@github.com>2020-10-22 18:39:04 -0400
commitb7f49e15a2fea2cb1676c921a5e68f974f9c3f33 (patch)
tree5ce62762bb16b2f2a6d983f860f6b4c4f63e44e8 /zebra/zebra_fpm.c
parentcc1107bf59ab88f7f19bfefb540d3b5cc63df3f3 (diff)
parentd0b0a2c545c2960df768e86a0bdb2e78610efc86 (diff)
Merge pull request #7358 from mjstapp/fix_ntoa
ospfd, zebra: Replace use of inet_ntoa
Diffstat (limited to 'zebra/zebra_fpm.c')
-rw-r--r--zebra/zebra_fpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_fpm.c b/zebra/zebra_fpm.c
index 1c3193449b..73996c526f 100644
--- a/zebra/zebra_fpm.c
+++ b/zebra/zebra_fpm.c
@@ -1933,7 +1933,7 @@ static int fpm_remote_srv_write(struct vty *vty)
if ((zfpm_g->fpm_server != FPM_DEFAULT_IP
&& zfpm_g->fpm_server != INADDR_ANY)
|| (zfpm_g->fpm_port != FPM_DEFAULT_PORT && zfpm_g->fpm_port != 0))
- vty_out(vty, "fpm connection ip %s port %d\n", inet_ntoa(in),
+ vty_out(vty, "fpm connection ip %pI4 port %d\n", &in,
zfpm_g->fpm_port);
return 0;