&msg->data.session.dst);
else
snprintfrr(addrs, sizeof(addrs), "src=%pI4 dst=%pI4",
- &msg->data.session.src,
- &msg->data.session.dst);
+ (struct in_addr *)&msg->data.session.src,
+ (struct in_addr *)&msg->data.session.dst);
buf[0] = 0;
if (flags & SESSION_CBIT)
for (ALL_LIST_ELEMENTS_RO(vertex->incoming_edges, lst_node,
vertex_edge)) {
zlog_debug(
- " inc edge key:%lldn attr key:%pI4 loc:(%pI4) rmt:(%pI4)",
+ " inc edge key:%"PRIu64"n attr key:%pI4 loc:(%pI4) rmt:(%pI4)",
vertex_edge->key,
&vertex_edge->attributes->adv.id.ip.addr,
&vertex_edge->attributes->standard.local,
for (ALL_LIST_ELEMENTS_RO(vertex->outgoing_edges, lst_node,
vertex_edge)) {
zlog_debug(
- " out edge key:%lld attr key:%pI4 loc:(%pI4) rmt:(%pI4)",
+ " out edge key:%"PRIu64" attr key:%pI4 loc:(%pI4) rmt:(%pI4)",
vertex_edge->key,
&vertex_edge->attributes->adv.id.ip.addr,
&vertex_edge->attributes->standard.local,
}
frr_each(edges, &ted->edges, edge) {
ls_edge2msg(&msg, edge);
- zlog_debug(" Ted edge key:%lld src:%s dst:%s", edge->key,
+ zlog_debug(" Ted edge key:%"PRIu64" src:%s dst:%s",
+ edge->key,
edge->source ? edge->source->node->name
: "no_source",
edge->destination ? edge->destination->node->name
lsa,
EXTNL_LSA_AGGR))
zlog_debug(
- "%s: Send Aggreate LSA (%pFX/%d)",
+ "%s: Send Aggreate LSA (%pFX)",
__func__,
- &aggr->p.prefix,
- aggr->p.prefixlen);
+ &aggr->p);
ospf_originate_summary_lsa(
ospf, aggr, ei);