1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Makes krt.c much more readable.

This commit is contained in:
Ondrej Zajicek
2013-06-29 22:55:41 +02:00
parent 6ac4f87a2d
commit c6964c305b
7 changed files with 101 additions and 94 deletions

View File

@@ -1086,18 +1086,16 @@ nl_open_async(void)
static u8 nl_cf_table[(NL_NUM_TABLES+7) / 8];
void
krt_sys_start(struct krt_proto *p, int first)
krt_sys_start(struct krt_proto *p)
{
nl_table_map[KRT_CF->sys.table_id] = p;
if (first)
{
nl_open();
nl_open_async();
}
nl_open();
nl_open_async();
}
void
krt_sys_shutdown(struct krt_proto *p UNUSED, int last UNUSED)
krt_sys_shutdown(struct krt_proto *p UNUSED)
{
}