diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-03-15 23:30:17 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-03-16 10:18:07 -0400 |
| commit | 47a08aa968e451b81030e010d41da6def3d2c577 (patch) | |
| tree | 5925cef0e68d5dea5ec91d88dcec8b6c4f042772 /zebra/rib.h | |
| parent | e69aa084193bcadc7a48c99c381741e8ff307658 (diff) | |
zebra: Upon client disconnect remove routes from all tables
It is possible for clients to install routes into tables
that they desire. Modify the code to delete these routes
from these tables as well.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/rib.h')
| -rw-r--r-- | zebra/rib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/rib.h b/zebra/rib.h index 0ee89e015a..b5d8c6e8eb 100644 --- a/zebra/rib.h +++ b/zebra/rib.h @@ -329,6 +329,8 @@ extern void rib_sweep_route(void); extern void rib_close_table(struct route_table *); extern void rib_init(void); extern unsigned long rib_score_proto(u_char proto, u_short instance); +extern unsigned long rib_score_proto_table(u_char proto, u_short instance, + struct route_table *table); extern void rib_queue_add(struct route_node *rn); extern void meta_queue_free(struct meta_queue *mq); extern int zebra_rib_labeled_unicast(struct route_entry *re); |
