mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 10:37:29 +00:00
lib, zebra: slight cleanup after rebase
Rebased zapi-cleanup, needs a bit of poking. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
parent
107afcd10b
commit
41903a4074
@ -636,7 +636,7 @@ static int zsend_ipv4_nexthop_lookup_mrib(struct zserv *client,
|
|||||||
* chain of nexthops. */
|
* chain of nexthops. */
|
||||||
for (nexthop = re->ng.nexthop; nexthop; nexthop = nexthop->next)
|
for (nexthop = re->ng.nexthop; nexthop; nexthop = nexthop->next)
|
||||||
if (CHECK_FLAG(nexthop->flags, NEXTHOP_FLAG_ACTIVE))
|
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 */
|
stream_putc_at(s, nump, num); /* store nexthop_num */
|
||||||
} else {
|
} else {
|
||||||
@ -706,8 +706,8 @@ void zsend_rule_notify_owner(struct zebra_pbr_rule *rule,
|
|||||||
struct stream *s;
|
struct stream *s;
|
||||||
|
|
||||||
if (IS_ZEBRA_DEBUG_PACKET) {
|
if (IS_ZEBRA_DEBUG_PACKET) {
|
||||||
zlog_debug("%s: Notifying %u",
|
zlog_debug("%s: Notifying %u", __PRETTY_FUNCTION__,
|
||||||
__PRETTY_FUNCTION__, rule->unique);
|
rule->unique);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (ALL_LIST_ELEMENTS_RO(zebrad.client_list, node, client)) {
|
for (ALL_LIST_ELEMENTS_RO(zebrad.client_list, node, client)) {
|
||||||
@ -1091,7 +1091,6 @@ stream_failure:
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Register zebra server interface information.
|
* Register zebra server interface information.
|
||||||
* Send current all interface and address information.
|
* Send current all interface and address information.
|
||||||
|
Loading…
Reference in New Issue
Block a user