]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix AS4_PATH attr flag check (BZ#676)
authorDenis Ovsienko <infrastation@yandex.ru>
Thu, 27 Oct 2011 16:04:08 +0000 (20:04 +0400)
committerDenis Ovsienko <infrastation@yandex.ru>
Mon, 21 Nov 2011 14:35:48 +0000 (18:35 +0400)
commit9ebf400a1c21117ff40cb78f0b023bf1cb4e9f6c
treedeaa8ecbb01ac76aef67e4c95f435459bf684d0a
parent0f572cde26208254f779933f0e8ec953ad2a3a8a
bgpd: fix AS4_PATH attr flag check (BZ#676)

AS_PATH is a well-known, transitive path attribute and cannot be flagged
as "Partial". This is what commit
77a20b8af32c926176f8492a086d9e4ec670496b implemented, but it did not
account, that bgp_attr_aspath() is also used to process AS4_PATH, which
is an optional, transitive path attribute and as such may be flagged as
"Partial". This change justfies the test condition.
bgpd/bgp_attr.c