mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-17 08:38:42 +00:00
RTF_CLONING is removed in FreeBSD 8.
This commit is contained in:
parent
c27b2449d1
commit
7d1966689f
@ -172,8 +172,10 @@ krt_sock_send(int cmd, rte *e)
|
||||
case RTD_DEVICE:
|
||||
if(i)
|
||||
{
|
||||
#ifdef RTF_CLONING
|
||||
if (cmd == RTM_ADD && (i->flags & IF_MULTIACCESS) != IF_MULTIACCESS) /* PTP */
|
||||
msg.rtm.rtm_flags |= RTF_CLONING;
|
||||
#endif
|
||||
|
||||
if(!i->addr) {
|
||||
log(L_ERR "KIF: interface \"%s\" has no IP addess", i->name);
|
||||
|
Loading…
Reference in New Issue
Block a user