diff options
author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2018-09-14 10:56:46 +0200 |
---|---|---|
committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2018-10-11 09:56:12 +0200 |
commit | 1de27621531b996db577f67fb43483286571dbf2 (patch) | |
tree | d8d1a31d568de76b818bb53f7bc1c445553a6c1b /bgpd/bgp_zebra.h | |
parent | Merge pull request #3098 from opensourcerouting/watchfrr-delay (diff) | |
download | frr-1de27621531b996db577f67fb43483286571dbf2.tar.xz frr-1de27621531b996db577f67fb43483286571dbf2.zip |
bgpd: Check if route-map really exists before applying to the peer
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
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 0223c423d..837bae14a 100644 --- a/bgpd/bgp_zebra.h +++ b/bgpd/bgp_zebra.h @@ -55,7 +55,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); |