Commit 7d196668 authored by Ondřej Zajíček's avatar Ondřej Zajíček

RTF_CLONING is removed in FreeBSD 8.

parent c27b2449
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment