mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-25 18:00:25 +00:00
bgpd: Adopt ecommunity_linkbw_present for IPv6 extended communities
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
d9219ee847
commit
c4986af74e
@ -1820,7 +1820,7 @@ const uint8_t *ecommunity_linkbw_present(struct ecommunity *ecom, uint64_t *bw)
|
||||
uint8_t type, sub_type;
|
||||
uint32_t bwval;
|
||||
|
||||
eval = pnt = (ecom->val + (i * ECOMMUNITY_SIZE));
|
||||
eval = pnt = (ecom->val + (i * ecom->unit_size));
|
||||
type = *pnt++;
|
||||
sub_type = *pnt++;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user