aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido van Rooij <guido@FreeBSD.org>2004-01-02 13:10:47 +0000
committerGuido van Rooij <guido@FreeBSD.org>2004-01-02 13:10:47 +0000
commit6b11e29d1ee52b8e8c4ae751adfd2960239bc130 (patch)
tree836210db1412796c2a5d3524dce990e28fc03060
parent2affa9f7b1bc5c1a6dc09d30d62cfb1c330072c6 (diff)
downloadsrc-6b11e29d1ee52b8e8c4ae751adfd2960239bc130.tar.gz
src-6b11e29d1ee52b8e8c4ae751adfd2960239bc130.zip
if_name and if_unit renaming to if_xname should be dealth with in
ipmon as well.
Notes
Notes: svn path=/head/; revision=124074
-rw-r--r--contrib/ipfilter/ipmon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/ipfilter/ipmon.c b/contrib/ipfilter/ipmon.c
index c8b032e075e6..4f557ef13c8d 100644
--- a/contrib/ipfilter/ipmon.c
+++ b/contrib/ipfilter/ipmon.c
@@ -922,6 +922,7 @@ int blen;
}
#if (SOLARIS || \
(defined(NetBSD) && (NetBSD <= 1991011) && (NetBSD >= 199603)) || \
+ (defined(__FreeBSD__) && (__FreeBSD_version >= 501113)) || \
(defined(OpenBSD) && (OpenBSD >= 199603))) || defined(linux)
{
char ifname[sizeof(ipf->fl_ifname) + 1];