]> git.ipfire.org Git - thirdparty/bird.git/commit
Better handling of too long attributes
authorOndrej Zajicek <santiago@crfreenet.org>
Fri, 27 Feb 2009 14:24:46 +0000 (15:24 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Fri, 27 Feb 2009 14:24:46 +0000 (15:24 +0100)
commit82a79586e5810af2f0338cb4c5982e085b5c5292
treec25310da25f371ed78028f406eeb55e2587e7077
parentcb5303927188de9504a6e18aedec299956a22b6f
Better handling of too long attributes

This patch extends the length for attributes from 1024 to 2048
(because both AS_PATH and AS4_PATH attributes take 2+4 B per AS).

If there is not enough space for attributes, Bird skips that
route group. Old behavior (skipping remaining attributes)
leads to skipping required attributes and session drop.
proto/bgp/attrs.c
proto/bgp/packets.c