diff options
| author | Mark Stapp <mjs@voltanet.io> | 2021-03-15 08:36:23 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-15 08:36:23 -0400 |
| commit | cc01c03434dbcbd532043584a9b91e60acd2afe3 (patch) | |
| tree | f669a337b6e646db5412bf4db193fcd940b5b1b2 /ospf6d/ospf6_zebra.c | |
| parent | 8b87b2f4f6fd5e3109cfdca7f5270b2b1612faeb (diff) | |
| parent | ad6f7449ef178417384e2da979ec094372de6dba (diff) | |
Merge pull request #8230 from donaldsharp/flex_more
more switchover to using our builtin printf functionality
Diffstat (limited to 'ospf6d/ospf6_zebra.c')
| -rw-r--r-- | ospf6d/ospf6_zebra.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/ospf6d/ospf6_zebra.c b/ospf6d/ospf6_zebra.c index 2b7072d34f..9b9453ce24 100644 --- a/ospf6d/ospf6_zebra.c +++ b/ospf6d/ospf6_zebra.c @@ -96,13 +96,9 @@ static int ospf6_router_id_update_zebra(ZAPI_CALLBACK_ARGS) return 0; o->router_id_zebra = router_id.u.prefix4; - if (IS_OSPF6_DEBUG_ZEBRA(RECV)) { - char buf[INET_ADDRSTRLEN]; - - zlog_debug("%s: zebra router-id %s update", __func__, - inet_ntop(AF_INET, &router_id.u.prefix4, buf, - INET_ADDRSTRLEN)); - } + if (IS_OSPF6_DEBUG_ZEBRA(RECV)) + zlog_debug("%s: zebra router-id %pI4 update", __func__, + &router_id.u.prefix4); ospf6_router_id_update(o); |
