* chain of nexthops. */
for (nexthop = re->ng.nexthop; nexthop; nexthop = nexthop->next)
if (CHECK_FLAG(nexthop->flags, NEXTHOP_FLAG_ACTIVE))
- num += zsend_write_nexthop(s, nexthop);
+ num += zserv_encode_nexthop(s, nexthop);
stream_putc_at(s, nump, num); /* store nexthop_num */
} else {
struct stream *s;
if (IS_ZEBRA_DEBUG_PACKET) {
- zlog_debug("%s: Notifying %u",
- __PRETTY_FUNCTION__, rule->unique);
+ zlog_debug("%s: Notifying %u", __PRETTY_FUNCTION__,
+ rule->unique);
}
for (ALL_LIST_ELEMENTS_RO(zebrad.client_list, node, client)) {
}
-
/*
* Register zebra server interface information.
* Send current all interface and address information.