git: b3e0463c741c - stable/13 - MFC d20f7a5a3da1aa5bccdabb89c181ca0c49385ecd:

Cy Schubert cy at FreeBSD.org
Tue Feb 16 00:46:18 UTC 2021


The branch stable/13 has been updated by cy:

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

commit b3e0463c741c3fc713d72e2ed93890cedd3637c9
Author:     Cy Schubert <cy at FreeBSD.org>
AuthorDate: 2021-02-07 03:15:27 +0000
Commit:     Cy Schubert <cy at FreeBSD.org>
CommitDate: 2021-02-16 00:40:50 +0000

    MFC d20f7a5a3da1aa5bccdabb89c181ca0c49385ecd:
    
    Simply FreeBSD check using __FreeBSD__ and remove OpenBSD
    
    (cherry picked from commit d20f7a5a3da1aa5bccdabb89c181ca0c49385ecd)
---
 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]);


More information about the dev-commits-src-all mailing list