mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-02 23:21:54 +00:00
Some more fixes for attributeless UPDATEs.
This commit is contained in:
parent
f75e3bbc01
commit
f94557dec5
@ -373,6 +373,9 @@ bgp_rx_update(struct bgp_conn *conn, byte *pkt, int len)
|
||||
rte_update(bgp->p.table, n, &bgp->p, NULL);
|
||||
}
|
||||
|
||||
if (!attr_len && !nlri_len) /* shortcut */
|
||||
return;
|
||||
|
||||
a0 = bgp_decode_attrs(conn, attrs, attr_len, bgp_linpool, nlri_len);
|
||||
if (a0 && nlri_len)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user