diff options
Diffstat (limited to 'proto/bgp')
-rw-r--r-- | proto/bgp/packets.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/bgp/packets.c b/proto/bgp/packets.c index 88d960d8..7a866fca 100644 --- a/proto/bgp/packets.c +++ b/proto/bgp/packets.c @@ -62,6 +62,7 @@ bgp_encode_prefixes(struct bgp_proto *p, byte *w, struct bgp_bucket *buck, unsig ipa_hton(a); memcpy(w, &a, bytes); w += bytes; + remains -= bytes; rem_node(&px->bucket_node); fib_delete(&p->prefix_fib, px); } |