diff options
author | Christian Franke <chris@opensourcerouting.org> | 2017-01-18 23:46:43 +0100 |
---|---|---|
committer | Christian Franke <chris@opensourcerouting.org> | 2017-01-30 13:54:46 +0100 |
commit | a27428eb7164b47b6b227e1be16a87d6e84c551b (patch) | |
tree | d23c064efc947d27b6f21e97d56a5b91fccb0693 /lib/table.h | |
parent | tests: add a test for the srcdest_table structure (diff) | |
download | frr-a27428eb7164b47b6b227e1be16a87d6e84c551b.tar.xz frr-a27428eb7164b47b6b227e1be16a87d6e84c551b.zip |
lib: add cleanup hook to route table
Diffstat (limited to 'lib/table.h')
-rw-r--r-- | lib/table.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/table.h b/lib/table.h index 6997b6bdd..1691a8e20 100644 --- a/lib/table.h +++ b/lib/table.h @@ -62,6 +62,7 @@ struct route_table * Delegate that performs certain functions for this table. */ route_table_delegate_t *delegate; + void (*cleanup)(struct route_table *, struct route_node *); unsigned long count; |