diff options
Diffstat (limited to 'sbin/routed/table.c')
-rw-r--r-- | sbin/routed/table.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/routed/table.c b/sbin/routed/table.c index d5ad6b0..5dfd195 100644 --- a/sbin/routed/table.c +++ b/sbin/routed/table.c @@ -1110,10 +1110,10 @@ flush_kern(void) if (rtm->rtm_flags & RTF_LLINFO) continue; -#if defined(RTF_CLONED) && defined(__bsdi__) +#if defined(RTF_WASCLONED) && defined(__FreeBSD__) /* ignore cloned routes */ - if (rtm->rtm_flags & RTF_CLONED) + if (rtm->rtm_flags & RTF_WASCLONED) continue; #endif @@ -1267,8 +1267,8 @@ read_rt(void) continue; } -#if defined(RTF_CLONED) && defined(__bsdi__) - if (m.r.rtm.rtm_flags & RTF_CLONED) { +#if defined(RTF_WASCLONED) && defined(__FreeBSD__) + if (m.r.rtm.rtm_flags & RTF_WASCLONED) { trace_act("ignore cloned %s", str); continue; } |