diff options
| author | Qing Li <qingli@FreeBSD.org> | 2008-12-15 06:10:57 +0000 |
|---|---|---|
| committer | Qing Li <qingli@FreeBSD.org> | 2008-12-15 06:10:57 +0000 |
| commit | 6e6b3f7cbc89cf29eafdfa6d1613c6b1a37c364b (patch) | |
| tree | 281ff6a89cacadf7e72f506b037ca41229a23bf6 /sbin/routed/table.c | |
| parent | 5d42c423690d3bc0751ea418ad945bb54c5c747d (diff) | |
Notes
Diffstat (limited to 'sbin/routed/table.c')
| -rw-r--r-- | sbin/routed/table.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sbin/routed/table.c b/sbin/routed/table.c index 491c5cfa0ab1..9fd4cb816a1c 100644 --- a/sbin/routed/table.c +++ b/sbin/routed/table.c @@ -1103,12 +1103,13 @@ flush_kern(void) || INFO_DST(&info)->sa_family != AF_INET) continue; +#if defined (RTF_LLINFO) /* ignore ARP table entries on systems with a merged route * and ARP table. */ if (rtm->rtm_flags & RTF_LLINFO) continue; - +#endif #if defined(RTF_WASCLONED) && defined(__FreeBSD__) /* ignore cloned routes */ @@ -1261,11 +1262,13 @@ read_rt(void) continue; } +#if defined(RTF_LLINFO) if (m.r.rtm.rtm_flags & RTF_LLINFO) { trace_act("ignore ARP %s", str); continue; } - +#endif + #if defined(RTF_WASCLONED) && defined(__FreeBSD__) if (m.r.rtm.rtm_flags & RTF_WASCLONED) { trace_act("ignore cloned %s", str); |
