diff options
author | Russ White <russ@riw.us> | 2018-10-14 14:48:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-14 14:48:48 +0200 |
commit | 79e8a97c1a7044b75bd07a06a806bb825f5b0001 (patch) | |
tree | 97f94292482b86e032d9d718d8c75e37a4628b6a /bgpd/bgp_zebra.h | |
parent | Merge pull request #3142 from donaldsharp/bgp_peerhash (diff) | |
parent | bgpd: Check if route-map really exists before applying to the peer (diff) | |
download | frr-79e8a97c1a7044b75bd07a06a806bb825f5b0001.tar.xz frr-79e8a97c1a7044b75bd07a06a806bb825f5b0001.zip |
Merge pull request #3024 from ton31337/fix/validate_route-map
bgpd: Check if route-map really exists before applying to the peer
Diffstat (limited to 'bgpd/bgp_zebra.h')
-rw-r--r-- | bgpd/bgp_zebra.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_zebra.h b/bgpd/bgp_zebra.h index 458730dd4..2ea1fc777 100644 --- a/bgpd/bgp_zebra.h +++ b/bgpd/bgp_zebra.h @@ -56,7 +56,8 @@ extern struct bgp_redist *bgp_redist_add(struct bgp *, afi_t, uint8_t, extern int bgp_redistribute_set(struct bgp *, afi_t, int, unsigned short, bool changed); extern int bgp_redistribute_resend(struct bgp *, afi_t, int, unsigned short); -extern int bgp_redistribute_rmap_set(struct bgp_redist *, const char *); +extern int bgp_redistribute_rmap_set(struct bgp_redist *red, const char *name, + struct route_map *route_map); extern int bgp_redistribute_metric_set(struct bgp *, struct bgp_redist *, afi_t, int, uint32_t); extern int bgp_redistribute_unset(struct bgp *, afi_t, int, unsigned short); |