mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Kernel syncer is now configurable. It will probably need some more
options, but at least basic tuning is possible now.
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
#include "unix.h"
|
||||
#include "krt.h"
|
||||
|
||||
struct proto *cf_krt_proto;
|
||||
|
||||
void
|
||||
krt_start(struct proto *P)
|
||||
{
|
||||
@@ -42,6 +44,7 @@ krt_preconfig(struct protocol *x)
|
||||
{
|
||||
struct krt_proto *p = (struct krt_proto *) proto_new(&proto_unix_kernel, sizeof(struct krt_proto));
|
||||
|
||||
cf_krt_proto = &p->p;
|
||||
p->p.preference = DEF_PREF_UKR;
|
||||
p->p.start = krt_start;
|
||||
p->p.shutdown = krt_shutdown;
|
||||
|
Reference in New Issue
Block a user