]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
RTF_CLONING is removed in FreeBSD 8.
authorOndrej Zajicek <santiago@crfreenet.org>
Wed, 10 Feb 2010 13:57:16 +0000 (14:57 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Wed, 10 Feb 2010 13:57:16 +0000 (14:57 +0100)
sysdep/bsd/krt-sock.c

index 4842a6b8a1508ec34c6d1d1f20bb36c0ac28dc59..a5279657692edbf939f382c64772623b197e4a78 100644 (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);