Some more fixes for attributeless UPDATEs.

This commit is contained in:
Martin Mares 2000-04-27 22:40:19 +00:00
parent f75e3bbc01
commit f94557dec5

View file

@ -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)
{