aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2021-02-07 03:15:27 +0000
committerCy Schubert <cy@FreeBSD.org>2021-02-16 00:40:49 +0000
commitad535e485554628721dfe92243b9d0cf0b6f6c39 (patch)
tree71f4912ccf0fc441eca286924e43cb304b08cd0c
parente7a431c229eafe52240f4a62e6d87a4b8187c351 (diff)
downloadsrc-ad535e485554628721dfe92243b9d0cf0b6f6c39.tar.gz
src-ad535e485554628721dfe92243b9d0cf0b6f6c39.zip
MFC d20f7a5a3da1aa5bccdabb89c181ca0c49385ecd:
Simply FreeBSD check using __FreeBSD__ and remove OpenBSD (cherry picked from commit d20f7a5a3da1aa5bccdabb89c181ca0c49385ecd)
-rw-r--r--contrib/ipfilter/lib/printaps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ipfilter/lib/printaps.c b/contrib/ipfilter/lib/printaps.c
index 0304f34c6010..47c8def6106b 100644
--- a/contrib/ipfilter/lib/printaps.c
+++ b/contrib/ipfilter/lib/printaps.c
@@ -47,7 +47,7 @@ printaps(aps, opts, proto)
ap.aps_state[0], ap.aps_state[1],
ap.aps_sel[0], ap.aps_sel[1]);
#if (defined(NetBSD) && (NetBSD >= 199905) && (NetBSD < 1991011)) || \
- (__FreeBSD_version >= 300000) || defined(OpenBSD)
+ defined(__FreeBSD__)
PRINTF("\t\tseq: off %hd/%hd min %x/%x\n",
ap.aps_seqoff[0], ap.aps_seqoff[1],
ap.aps_seqmin[0], ap.aps_seqmin[1]);