summaryrefslogtreecommitdiffstats
path: root/sysdep
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-12-08 15:16:13 +0100
committerMartin Mares <mj@ucw.cz>1999-12-08 15:16:13 +0100
commit0da472d7e867e31c49fccc4ee45df3ef47c29c9b (patch)
treec78cc2aa5acb075038e0c23eecc95d035260dda5 /sysdep
parentdff1f5791794102e4e6880516545145c5036873f (diff)
downloadbird-0da472d7e867e31c49fccc4ee45df3ef47c29c9b.tar
bird-0da472d7e867e31c49fccc4ee45df3ef47c29c9b.zip
Except for special protocols (nowadays only the kernel syncer), don't
export host and link scope routes.
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/unix/krt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdep/unix/krt.c b/sysdep/unix/krt.c
index 090c50b..aa9a9c4 100644
--- a/sysdep/unix/krt.c
+++ b/sysdep/unix/krt.c
@@ -753,6 +753,7 @@ krt_init(struct proto_config *c)
struct krt_proto *p = proto_new(c, sizeof(struct krt_proto));
p->p.rt_notify = krt_notify;
+ p->p.min_scope = SCOPE_HOST;
return &p->p;
}