diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2012-01-24 11:31:00 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2012-01-24 11:31:00 +0100 |
commit | 39c028e9e9e3acf840051f4271fadd4939fde2af (patch) | |
tree | d6ca0ff9816965b31cb2ee4794c1a1c65a427f7d /nest/proto.c | |
parent | 09686693d35bd71187847c95c0967d4125215b97 (diff) |
Assign default protocol preference via proto_config_new().
The patch from Alexander V. Chernikov.
Diffstat (limited to 'nest/proto.c')
-rw-r--r-- | nest/proto.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/proto.c b/nest/proto.c index d55c348d..0fc72ce1 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -200,6 +200,7 @@ proto_config_new(struct protocol *pr, unsigned size, int class) c->global = new_config; c->protocol = pr; c->name = pr->name; + c->preference = pr->preference; c->class = class; c->out_filter = FILTER_REJECT; c->table = c->global->master_rtc; |