mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 12:28:52 +00:00
bgpd: Set encap attribute if received and parsed
It's not used much in the code, but we should have it set when everything is fine. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
b713df85bd
commit
d84cae2db7
@ -2911,6 +2911,8 @@ static int bgp_attr_encap(struct bgp_attr_parser_args *args)
|
||||
args->total);
|
||||
}
|
||||
|
||||
SET_FLAG(attr->flag, ATTR_FLAG_BIT(BGP_ATTR_ENCAP));
|
||||
|
||||
return BGP_ATTR_PARSE_PROCEED;
|
||||
|
||||
encap_ignore:
|
||||
|
Loading…
Reference in New Issue
Block a user