]> git.puffer.fish Git - mirror/frr.git/commit
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>
Thu, 28 Jun 2018 09:08:59 +0000 (11:08 +0200)
commite45aea5940233e326143803c95de37fdf89f5029
tree4d3c82c091a67525fc7d6c642b935561c2cb9599
parent5ac5b7cc7e6ac1ba25e7cd07dd0949e2b62725ae
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