aboutsummaryrefslogtreecommitdiff
path: root/sbin/routed
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2004-06-15 00:23:26 +0000
committerBruce M Simpson <bms@FreeBSD.org>2004-06-15 00:23:26 +0000
commit0529700abc4f3d9eddc7e882094c553c958ee4ac (patch)
tree6936a0792790a4b4122046f4bdf13051ce0736ea /sbin/routed
parent5a57a7f095413bd7814f1c11089d0e0dac99d1fd (diff)
downloadsrc-0529700abc4f3d9eddc7e882094c553c958ee4ac.tar.gz
src-0529700abc4f3d9eddc7e882094c553c958ee4ac.zip
Notes
Diffstat (limited to 'sbin/routed')
-rw-r--r--sbin/routed/table.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/routed/table.c b/sbin/routed/table.c
index d5ad6b0fef26..5dfd1954ddda 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;
}