RTF_CLONING is removed in FreeBSD 8.
This commit is contained in:
parent
c27b2449d1
commit
7d1966689f
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue