]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_flowspec_private.h
bgpd: handle fs nlri over 240 bytes
authorPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 6 Apr 2020 15:15:09 +0000 (17:15 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 22 Apr 2020 10:12:03 +0000 (12:12 +0200)
commit3255e756a2e54d1a1d5fbca4c5212016a141af20
tree880e3e6888c022427100a4094b7540e17e396b50
parent82d86ab5b957d41ee3feffcf3246bffc926544c8
bgpd: handle fs nlri over 240 bytes

the nlri flowspec above 240 bytes size was not handled.
Over 240 bytes, the length is 2 bytes length, and a calculation must be
done to obtain the real length. This commit handles it appropriately.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_flowspec.c
bgpd/bgp_flowspec_private.h