0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 01:31:55 +00:00

RTF_CLONING is removed in FreeBSD 8.

This commit is contained in:
Ondrej Zajicek 2010-02-10 14:57:16 +01:00
parent c27b2449d1
commit 7d1966689f

View File

@ -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);