diff options
| author | Mark Stapp <mjs@voltanet.io> | 2021-01-27 15:00:10 -0500 |
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2021-01-27 15:00:10 -0500 |
| commit | acc847c999fe0aceecc880e017619bf707483aaa (patch) | |
| tree | 272ab6506766febbcf59bab6ab9bf876aee28cc0 /lib/link_state.c | |
| parent | 72bd11663fde8f8cf504a4a93bee594df70d7fc7 (diff) | |
libs, ospfd: remove inet_ntoa
inet_ntoa not permitted - replace instances.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'lib/link_state.c')
| -rw-r--r-- | lib/link_state.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/link_state.c b/lib/link_state.c index f8fdda64f0..8dc5ab8eee 100644 --- a/lib/link_state.c +++ b/lib/link_state.c @@ -1273,10 +1273,8 @@ void ls_dump_ted(struct ls_ted *ted) frr_each(subnets, &ted->subnets, subnet) { ls_subnet2msg(&msg, subnet); zlog_debug( - "\tTed subnet key:%s vertex:%pI4 pfx:%pFX", - subnet->key.family == AF_INET - ? inet_ntoa(subnet->key.u.prefix4) - : inet6_ntoa(subnet->key.u.prefix6), + "\tTed subnet key:%pFX vertex:%pI4 pfx:%pFX", + &subnet->key, &subnet->vertex->node->adv.id.ip.addr, &subnet->ls_pref->pref); } |
