summaryrefslogtreecommitdiff
path: root/bgpd/bgp_zebra.h
diff options
context:
space:
mode:
authorkssoman <somanks@vmware.com>2018-08-22 05:00:15 -0700
committerkssoman <somanks@vmware.com>2018-08-22 05:00:15 -0700
commite923dd62ef715147a3e0d28a8e9dccb9371defcb (patch)
treec212c7341ccffccb0b9c05ab4c938195810188f5 /bgpd/bgp_zebra.h
parent067d5028c1b82cab172f2d951d7f8c7598ad0f1c (diff)
bgpd : Change of options in redistribute command does not get applied
* Added parameter in bgp_redistribute_set() to indicate change in redistribute option * If there is change, call bgp_redistribute_unreg() to withdraw routes Signed-off-by: kssoman <somanks@vmware.com>
Diffstat (limited to 'bgpd/bgp_zebra.h')
-rw-r--r--bgpd/bgp_zebra.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_zebra.h b/bgpd/bgp_zebra.h
index e3c88b9db6..546d72402a 100644
--- a/bgpd/bgp_zebra.h
+++ b/bgpd/bgp_zebra.h
@@ -51,7 +51,8 @@ extern struct bgp_redist *bgp_redist_lookup(struct bgp *, afi_t, uint8_t,
unsigned short);
extern struct bgp_redist *bgp_redist_add(struct bgp *, afi_t, uint8_t,
unsigned short);
-extern int bgp_redistribute_set(struct bgp *, afi_t, int, unsigned short);
+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_metric_set(struct bgp *, struct bgp_redist *, afi_t,