]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_pbr.c
bgpd: fix recursive call combination
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 20 Jun 2018 13:30:40 +0000 (15:30 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 2 Jul 2018 07:20:40 +0000 (09:20 +0200)
commit67f51e93c54f3de33acb606316bde77ff8083d6e
tree5701e0298ba572f195f449eba7239840456473c0
parentb0f0c45cc104a9602b3d3d82c8e1b607f8424595
bgpd: fix recursive call combination

The recursive algorithm was taking into account the fact that all the
bpof structures were filled in. Because the dscp value was not given,
the pkt_len parsing could not be achieved. Now the iteration takes into
account each type according to the previous one, thus guaranting all
parameters to be parsed.

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