mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 01:31:55 +00:00
Update `remains' counter correctly.
This commit is contained in:
parent
d69e5ff2ad
commit
9ff8f334ed
3
TODO
3
TODO
@ -24,9 +24,8 @@ Core
|
|||||||
|
|
||||||
- bgp: timing of updates?
|
- bgp: timing of updates?
|
||||||
- bgp: dump and get_route_info
|
- bgp: dump and get_route_info
|
||||||
- bgp: packet size limit in sending of withdrawals?
|
|
||||||
|
|
||||||
- proto: `Changed state to ...' message -> show internal states
|
- proto: Don't show repeated `Changed state to ...' messages if only internal states change
|
||||||
|
|
||||||
Documentation
|
Documentation
|
||||||
~~~~~~~~~~~~~
|
~~~~~~~~~~~~~
|
||||||
|
@ -62,6 +62,7 @@ bgp_encode_prefixes(struct bgp_proto *p, byte *w, struct bgp_bucket *buck, unsig
|
|||||||
ipa_hton(a);
|
ipa_hton(a);
|
||||||
memcpy(w, &a, bytes);
|
memcpy(w, &a, bytes);
|
||||||
w += bytes;
|
w += bytes;
|
||||||
|
remains -= bytes;
|
||||||
rem_node(&px->bucket_node);
|
rem_node(&px->bucket_node);
|
||||||
fib_delete(&p->prefix_fib, px);
|
fib_delete(&p->prefix_fib, px);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user