]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Modify attr->flag to be 64 bit
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 10 Mar 2017 12:59:52 +0000 (07:59 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 6 Apr 2017 14:32:07 +0000 (10:32 -0400)
commit02cd9458d6de1c86f8cd1f6f08406348d2994486
tree9795491ebe726fecf2b2bc97ad312f92eac5162a
parent28d58fd7b166836029656c29ad8ed9a9e8a744ac
bgpd: Modify attr->flag to be 64 bit

With the some current bgp drafts the Attribute number has
surpassed 32.  Which is a bit unfortunate in that we keep
track of the attributes via a bitfield based on the attribute #.

For the moment since I am not aware of Attribute #'s being
greater than 64, convert the flag to 64 bit and allow the
bit shifting to know about it.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_attr.h