diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2020-10-14 13:16:46 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2020-10-17 13:39:10 -0400 |
| commit | f42238f8951f9d4e7092d4aec2df17ec0f303d7d (patch) | |
| tree | 911cfb389974bc3955e9ecd17a96bc63fb2ab91c /ripd/rip_interface.c | |
| parent | e0259674e3fb9fea513ae68ace393b43a2c7b1b9 (diff) | |
ripd: Convert to using %pFX
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'ripd/rip_interface.c')
| -rw-r--r-- | ripd/rip_interface.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c index aab756aee9..7c35781eef 100644 --- a/ripd/rip_interface.c +++ b/ripd/rip_interface.c @@ -603,8 +603,7 @@ int rip_interface_address_add(ZAPI_CALLBACK_ARGS) if (p->family == AF_INET) { if (IS_RIP_DEBUG_ZEBRA) - zlog_debug("connected address %s/%d is added", - inet_ntoa(p->u.prefix4), p->prefixlen); + zlog_debug("connected address %pFX is added", p); rip_enable_apply(ifc->ifp); /* Check if this prefix needs to be redistributed */ @@ -653,9 +652,8 @@ int rip_interface_address_delete(ZAPI_CALLBACK_ARGS) p = ifc->address; if (p->family == AF_INET) { if (IS_RIP_DEBUG_ZEBRA) - zlog_debug("connected address %s/%d is deleted", - inet_ntoa(p->u.prefix4), - p->prefixlen); + zlog_debug("connected address %pFX is deleted", + p); hook_call(rip_ifaddr_del, ifc); |
