Ouch, how could I write this?
This commit is contained in:
parent
4532a89e31
commit
d7975d261f
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ void
|
||||||
rt_setup(pool *p, rtable *t, char *name)
|
rt_setup(pool *p, rtable *t, char *name)
|
||||||
{
|
{
|
||||||
bzero(t, sizeof(*t));
|
bzero(t, sizeof(*t));
|
||||||
fib_init(&t->fib, p, sizeof(rte), 0, rte_init);
|
fib_init(&t->fib, p, sizeof(net), 0, rte_init);
|
||||||
t->name = name;
|
t->name = name;
|
||||||
init_list(&t->hooks);
|
init_list(&t->hooks);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue