]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: rmap_type is 8 bit but we have 9 bits of flags
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 24 Sep 2019 12:24:10 +0000 (08:24 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 24 Sep 2019 12:29:46 +0000 (08:29 -0400)
commita3116965bb2332901c5645ef119087dbd148a95f
treeb6c88a146d95c6a3c034750a3e61caecc34a6681
parent4550d5df00c64554fe21d490ec4cd7d0845111c2
bgpd: rmap_type is 8 bit but we have 9 bits of flags

The newly added PEER_RMAP_TYPE_AGGREGATE flag is setup to
be the 9th bit:

But the flag we are putting it into:
uint8_t rmap_type;

is 8 bits.  Adjust the size.

Found by Coverity SA Scan
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgpd.h