mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +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:
|
case RTD_DEVICE:
|
||||||
if(i)
|
if(i)
|
||||||
{
|
{
|
||||||
|
#ifdef RTF_CLONING
|
||||||
if (cmd == RTM_ADD && (i->flags & IF_MULTIACCESS) != IF_MULTIACCESS) /* PTP */
|
if (cmd == RTM_ADD && (i->flags & IF_MULTIACCESS) != IF_MULTIACCESS) /* PTP */
|
||||||
msg.rtm.rtm_flags |= RTF_CLONING;
|
msg.rtm.rtm_flags |= RTF_CLONING;
|
||||||
|
#endif
|
||||||
|
|
||||||
if(!i->addr) {
|
if(!i->addr) {
|
||||||
log(L_ERR "KIF: interface \"%s\" has no IP addess", i->name);
|
log(L_ERR "KIF: interface \"%s\" has no IP addess", i->name);
|
||||||
|
Loading…
Reference in New Issue
Block a user