summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@users.noreply.github.com>2021-01-29 12:01:03 +0100
committerGitHub <noreply@github.com>2021-01-29 12:01:03 +0100
commitecf497baeda77bfd040818c7bd2ad412cac76d66 (patch)
tree1f312fd88681456a0f44796b86492d432db1f812 /lib
parentMerge pull request #7960 from kishorekunal01/bgp_fix_allowas_in (diff)
parentlibs, ospfd: remove inet_ntoa (diff)
downloadfrr-ecf497baeda77bfd040818c7bd2ad412cac76d66.tar.xz
frr-ecf497baeda77bfd040818c7bd2ad412cac76d66.zip
Merge pull request #7953 from mjstapp/fix_more_ntoa
libs, ospfd: remove inet_ntoa
Diffstat (limited to 'lib')
-rw-r--r--lib/link_state.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/link_state.c b/lib/link_state.c
index f8fdda64f..8dc5ab8ee 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);
}