summaryrefslogtreecommitdiff
path: root/nest/rt-dev.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-01-16 16:40:57 +0000
committerMartin Mares <mj@ucw.cz>2000-01-16 16:40:57 +0000
commit394aec8fdd112a81da1e2f6f0e09ee74256dc24e (patch)
tree53ce3cdc0a5eb1509ba374ccd22a1e67af5bcca1 /nest/rt-dev.c
parent150875747813977ddf12474fa10a771090586402 (diff)
Don't forget to set proto->min_scope = SCOPE_HOST.
Diffstat (limited to 'nest/rt-dev.c')
-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 2253a113..d73e3765 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;
}