diff options
author | Martin Mares <mj@ucw.cz> | 2000-05-08 12:38:25 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-05-08 12:38:25 +0200 |
commit | 92ef4fa719058af80a9dbb39e3d2fbd9314e8a1a (patch) | |
tree | 0f29df26ee3d2e31964a534fc590c7373577a7cf /proto/rip | |
parent | 0117d004945afdfb6cc9a62db4561cd4eddee24a (diff) | |
download | bird-92ef4fa719058af80a9dbb39e3d2fbd9314e8a1a.tar bird-92ef4fa719058af80a9dbb39e3d2fbd9314e8a1a.zip |
Preference is a configurable parameter.
Diffstat (limited to 'proto/rip')
-rw-r--r-- | proto/rip/rip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/rip/rip.c b/proto/rip/rip.c index b3546ae..326cf20 100644 --- a/proto/rip/rip.c +++ b/proto/rip/rip.c @@ -819,7 +819,6 @@ rip_rte_remove(net *net, rte *rte) void rip_init_instance(struct proto *p) { - p->preference = DEF_PREF_RIP; p->if_notify = rip_if_notify; p->rt_notify = rip_rt_notify; p->import_control = rip_import_control; @@ -834,6 +833,7 @@ void rip_init_config(struct rip_proto_config *c) { init_list(&c->iface_list); + c->c.preference = DEF_PREF_RIP; c->infinity = 16; c->port = 520; c->period = 30; |