mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Assign default protocol preference via proto_config_new().
The patch from Alexander V. Chernikov.
This commit is contained in:
@@ -24,7 +24,6 @@ CF_ADDTO(proto, pipe_proto '}')
|
||||
|
||||
pipe_proto_start: proto_start PIPE {
|
||||
this_proto = proto_config_new(&proto_pipe, sizeof(struct pipe_config), $1);
|
||||
this_proto->preference = DEF_PREF_PIPE;
|
||||
PIPE_CFG->mode = PIPE_TRANSPARENT;
|
||||
}
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user