diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2018-12-04 09:33:21 +0100 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2018-12-28 18:10:26 +0100 |
commit | 0378bcaad6736940867fc0a0b46e196f3e95d7ce (patch) | |
tree | 714685a9f194caac1ee5db5bbe6859beaf26b306 /bgpd/bgp_pbr.c | |
parent | Merge pull request #3449 from opensourcerouting/network-wide-transactions (diff) | |
download | frr-0378bcaad6736940867fc0a0b46e196f3e95d7ce.tar.xz frr-0378bcaad6736940867fc0a0b46e196f3e95d7ce.zip |
bgpd: flowspec redirect IP info is retrieved into nh tracking
redirect IP nh of flowspec entry is retrieved so that the nexthop
IP information is injected into the nexthop tracking, and is associated
to the bgp_path structure. This permits validating or unvalidating the
bgp_path for injection in zebra or not.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'bgpd/bgp_pbr.c')
-rw-r--r-- | bgpd/bgp_pbr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_pbr.c b/bgpd/bgp_pbr.c index f0a0e615e..f00215470 100644 --- a/bgpd/bgp_pbr.c +++ b/bgpd/bgp_pbr.c @@ -626,7 +626,7 @@ static int bgp_pbr_validate_policy_route(struct bgp_pbr_entry_main *api) } /* return -1 if build or validation failed */ -static int bgp_pbr_build_and_validate_entry(struct prefix *p, +int bgp_pbr_build_and_validate_entry(struct prefix *p, struct bgp_path_info *path, struct bgp_pbr_entry_main *api) { |