diff --git a/sys/net/route.c b/sys/net/route.c index 23dbedc77319..2b6228eccab7 100644 --- a/sys/net/route.c +++ b/sys/net/route.c @@ -296,7 +296,7 @@ vnet_route_uninit(const void *unused __unused) rnh = rt_tables_get_rnh_ptr(table, fam); if (rnh == NULL) panic("%s: rnh NULL", __func__); - dom->dom_rtdetach((void **)rnh, dom->dom_rtoffset); + dom->dom_rtdetach((void **)rnh, 0); } }