mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-17 16:48:43 +00:00
Don't forget to set proto->min_scope = SCOPE_HOST.
This commit is contained in:
parent
1508757478
commit
394aec8fdd
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user