mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
sysutils/pftop: Fix build with clang 15
PR: 268209
This commit is contained in:
parent
9671e42b93
commit
73084fa85f
@ -1,5 +1,6 @@
|
||||
PORTNAME= pftop
|
||||
PORTVERSION= 0.8
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils net
|
||||
|
||||
MAINTAINER= grembo@FreeBSD.org
|
||||
|
@ -343,7 +343,7 @@ $OpenBSD: patch-pftop_c,v 1.12 2009/12/02 21:16:10 sthen Exp $
|
||||
#endif
|
||||
#ifdef HAVE_RULE_STATES
|
||||
+#ifdef HAVE_PFSYNC_KEY
|
||||
+ print_fld_size(FLD_STATS, pr->states_tot);
|
||||
+ print_fld_size(FLD_STATS, *pr->states_tot);
|
||||
+#else
|
||||
print_fld_size(FLD_STATS, pr->states);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user