mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 17:51:53 +00:00
Ouch, how could I write this?
This commit is contained in:
parent
4532a89e31
commit
d7975d261f
@ -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 New Issue
Block a user