sysutils/pftop: Fix output on 14.0-CURRENT

Reported by:	herbert@gojira.at
This commit is contained in:
Michael Gmelin 2023-06-11 14:42:31 +02:00
parent e30350e582
commit a74e4cf1e2
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= pftop
PORTVERSION= 0.8
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= sysutils net
MAINTAINER= grembo@FreeBSD.org

View file

@ -12,7 +12,7 @@ $OpenBSD: patch-config_h,v 1.4 2008/12/20 04:36:11 canacar Exp $
+
#ifdef HAVE_PFSYNC_STATE
+#if OS_LEVEL > 45
+typedef struct pfsync_state_1400 pf_state_t;
+typedef struct pfsync_state_1301 pf_state_t;
+#else
typedef struct pfsync_state pf_state_t;
+#endif