Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Feb 2021 00:36:57 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: d20f7a5a3da1 - main - Simply FreeBSD check using __FreeBSD__ and remove OpenBSD
Message-ID:  <202102090036.1190avRi087093@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=d20f7a5a3da1aa5bccdabb89c181ca0c49385ecd

commit d20f7a5a3da1aa5bccdabb89c181ca0c49385ecd
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2021-02-07 03:15:27 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2021-02-09 00:36:27 +0000

    Simply FreeBSD check using __FreeBSD__ and remove OpenBSD
    
    MFC after:      1 week
---
 contrib/ipfilter/lib/printaps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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]);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102090036.1190avRi087093>