Some more fixes for attributeless UPDATEs.
This commit is contained in:
parent
f75e3bbc01
commit
f94557dec5
1 changed files with 3 additions and 0 deletions
|
@ -373,6 +373,9 @@ bgp_rx_update(struct bgp_conn *conn, byte *pkt, int len)
|
||||||
rte_update(bgp->p.table, n, &bgp->p, NULL);
|
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);
|
a0 = bgp_decode_attrs(conn, attrs, attr_len, bgp_linpool, nlri_len);
|
||||||
if (a0 && nlri_len)
|
if (a0 && nlri_len)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue