summaryrefslogtreecommitdiff
path: root/nest/rt-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'nest/rt-table.c')
-rw-r--r--nest/rt-table.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c
index 6ad5b06f..ae27ceb7 100644
--- a/nest/rt-table.c
+++ b/nest/rt-table.c
@@ -466,7 +466,7 @@ rt_dump_all(void)
rt_dump(t);
}
-static int
+static void
rt_gc(void *tab)
{
rtable *t = tab;
@@ -474,7 +474,6 @@ rt_gc(void *tab)
DBG("Entered routing table garbage collector for %s after %d seconds and %d deletes\n",
t->name, (int)(now - t->gc_time), t->gc_counter);
rt_prune(t);
- return 0;
}
void