summaryrefslogtreecommitdiffstats
path: root/sysdep
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-05-08 12:40:00 +0200
committerMartin Mares <mj@ucw.cz>2000-05-08 12:40:00 +0200
commit916c8c0abacfd5ba93353fec9dba84a81845c95e (patch)
tree8d0abb12434e6e0b9ea3304f799504a298e17003 /sysdep
parent1151401e2b8b4434bbd1419ff33a48f2848d600d (diff)
downloadbird-916c8c0abacfd5ba93353fec9dba84a81845c95e.tar
bird-916c8c0abacfd5ba93353fec9dba84a81845c95e.zip
Use preferences properly.
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/unix/krt.Y2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/unix/krt.Y b/sysdep/unix/krt.Y
index b5ca3c0..11fd0c0 100644
--- a/sysdep/unix/krt.Y
+++ b/sysdep/unix/krt.Y
@@ -31,7 +31,7 @@ kern_proto_start: proto_start KERNEL {
cf_error("Kernel protocol already defined");
#endif
cf_krt = this_proto = proto_config_new(&proto_unix_kernel, sizeof(struct krt_config));
- this_proto->preference = 0;
+ this_proto->preference = DEF_PREF_INHERITED;
THIS_KRT->scan_time = 60;
THIS_KRT->learn = THIS_KRT->persist = 0;
krt_scan_construct(THIS_KRT);