summaryrefslogtreecommitdiffstats
path: root/nest
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-01-16 17:40:57 +0100
committerMartin Mares <mj@ucw.cz>2000-01-16 17:40:57 +0100
commit394aec8fdd112a81da1e2f6f0e09ee74256dc24e (patch)
tree53ce3cdc0a5eb1509ba374ccd22a1e67af5bcca1 /nest
parent150875747813977ddf12474fa10a771090586402 (diff)
downloadbird-394aec8fdd112a81da1e2f6f0e09ee74256dc24e.tar
bird-394aec8fdd112a81da1e2f6f0e09ee74256dc24e.zip
Don't forget to set proto->min_scope = SCOPE_HOST.
Diffstat (limited to 'nest')
-rw-r--r--nest/rt-dev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nest/rt-dev.c b/nest/rt-dev.c
index 2253a11..d73e376 100644
--- a/nest/rt-dev.c
+++ b/nest/rt-dev.c
@@ -1,7 +1,7 @@
/*
* BIRD -- Direct Device Routes
*
- * (c) 1998--1999 Martin Mares <mj@ucw.cz>
+ * (c) 1998--2000 Martin Mares <mj@ucw.cz>
*
* Can be freely distributed and used under the terms of the GNU GPL.
*/
@@ -73,6 +73,7 @@ dev_init(struct proto_config *c)
struct proto *p = proto_new(c, sizeof(struct proto));
p->ifa_notify = dev_ifa_notify;
+ p->min_scope = SCOPE_HOST;
return p;
}