Don't forget to set proto->min_scope = SCOPE_HOST.

This commit is contained in:
Martin Mares 2000-01-16 16:40:57 +00:00
parent 1508757478
commit 394aec8fdd

View file

@ -1,7 +1,7 @@
/* /*
* BIRD -- Direct Device Routes * 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. * 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)); struct proto *p = proto_new(c, sizeof(struct proto));
p->ifa_notify = dev_ifa_notify; p->ifa_notify = dev_ifa_notify;
p->min_scope = SCOPE_HOST;
return p; return p;
} }