diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-02-10 14:57:16 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-02-10 14:57:16 +0100 |
commit | 7d1966689f3f748d8bfa36eef64ced6a750ecb47 (patch) | |
tree | c0ea57482bbdf9fe4a32ce66e40a962334367918 /sysdep | |
parent | c27b2449d1f57e780974ed13fbd572a48e2a3602 (diff) | |
download | bird-7d1966689f3f748d8bfa36eef64ced6a750ecb47.tar bird-7d1966689f3f748d8bfa36eef64ced6a750ecb47.zip |
RTF_CLONING is removed in FreeBSD 8.
Diffstat (limited to 'sysdep')
-rw-r--r-- | sysdep/bsd/krt-sock.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |