mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Protocols have their own explicit init routines
This commit is contained in:
@ -2,5 +2,6 @@ src := pipe.c
|
||||
obj := $(src-o-files)
|
||||
$(all-daemon)
|
||||
$(cf-local)
|
||||
$(call proto-build,pipe_build)
|
||||
|
||||
tests_objs := $(tests_objs) $(src-o-files)
|
||||
tests_objs := $(tests_objs) $(src-o-files)
|
||||
|
@ -303,3 +303,9 @@ struct protocol proto_pipe = {
|
||||
.get_status = pipe_get_status,
|
||||
.show_proto_info = pipe_show_proto_info
|
||||
};
|
||||
|
||||
void
|
||||
pipe_build(void)
|
||||
{
|
||||
proto_build(&proto_pipe);
|
||||
}
|
||||
|
Reference in New Issue
Block a user