summaryrefslogtreecommitdiffstats
path: root/sharpd/sharp_zebra.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-01-26 15:26:30 +0100
committerDonald Sharp <sharpd@nvidia.com>2024-01-26 15:26:30 +0100
commit3d97d2679f036722072fd078848604ca965f1037 (patch)
tree21346e75befa0753fc1a1e6588509fa9d32037a8 /sharpd/sharp_zebra.h
parentMerge pull request #15233 from louis-6wind/bgp-leak-no-network (diff)
downloadfrr-3d97d2679f036722072fd078848604ca965f1037.tar.xz
frr-3d97d2679f036722072fd078848604ca965f1037.zip
sharpd: Add ability to turn off watching of redistribution
Wanted to do some testing of redistribute without having to restart sharpd over and over. Added ability to turn off the `sharp watch redistribute XX` functionality. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'sharpd/sharp_zebra.h')
-rw-r--r--sharpd/sharp_zebra.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sharpd/sharp_zebra.h b/sharpd/sharp_zebra.h
index df80ce77a..5cbcc1466 100644
--- a/sharpd/sharp_zebra.h
+++ b/sharpd/sharp_zebra.h
@@ -55,7 +55,7 @@ extern void sharp_zebra_send_arp(const struct interface *ifp,
/* Register Link State Opaque messages */
extern void sharp_zebra_register_te(void);
-extern void sharp_redistribute_vrf(struct vrf *vrf, int source);
+extern void sharp_redistribute_vrf(struct vrf *vrf, int source, bool turn_on);
extern int sharp_zebra_srv6_manager_get_locator_chunk(const char *lname);
extern int sharp_zebra_srv6_manager_release_locator_chunk(const char *lname);