summaryrefslogtreecommitdiff
path: root/ripd/rip_interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'ripd/rip_interface.c')
-rw-r--r--ripd/rip_interface.c8
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);