From 7d1966689f3f748d8bfa36eef64ced6a750ecb47 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Wed, 10 Feb 2010 14:57:16 +0100 Subject: RTF_CLONING is removed in FreeBSD 8. --- sysdep/bsd/krt-sock.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysdep/bsd') diff --git a/sysdep/bsd/krt-sock.c b/sysdep/bsd/krt-sock.c index 4842a6b..a527965 100644 --- a/sysdep/bsd/krt-sock.c +++ b/sysdep/bsd/krt-sock.c @@ -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); -- cgit v1.2.3