summaryrefslogtreecommitdiff
path: root/nest/route.h
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2021-04-19 15:13:20 +0200
committerMaria Matejka <mq@ucw.cz>2021-04-19 15:14:55 +0200
commit3d90241f62393e6d614c1d20fde4013c9ff24685 (patch)
tree40b244493136565888f34706aea662a1363a60e1 /nest/route.h
parenta7c9515ebc88c42f26ce97255c98b2e61ad52934 (diff)
Internal route tables have a reduced cleanup routine
This fixes an internal table cleanup bug introduced in ff397df7edcbe7a8abca5b419729b9c64c063847.
Diffstat (limited to 'nest/route.h')
-rw-r--r--nest/route.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/nest/route.h b/nest/route.h
index 2393fdc3..f5fc9e31 100644
--- a/nest/route.h
+++ b/nest/route.h
@@ -164,6 +164,9 @@ typedef struct rtable {
int pipe_busy; /* Pipe loop detection */
int use_count; /* Number of protocols using this table */
u32 rt_count; /* Number of routes in the table */
+
+ byte internal; /* Internal table of a protocol */
+
struct hmap id_map;
struct hostcache *hostcache;
struct rtable_config *config; /* Configuration of this table */