Don't forget to set proto->min_scope = SCOPE_HOST.
This commit is contained in:
parent
1508757478
commit
394aec8fdd
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue