1
0
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:
Ondrej Zajicek
2012-01-24 11:31:00 +01:00
parent 09686693d3
commit 39c028e9e9
14 changed files with 10 additions and 8 deletions

View File

@@ -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;
}
;