struct pf_queue_bwspec changed 'absolute' to uint64_t in pfvar.h 1.541

This commit is contained in:
sthen
2026-03-18 22:58:29 +00:00
parent 0bc5b48b2a
commit 04a87307c8
2 changed files with 16 additions and 2 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
COMMENT = Python module for managing PF
MODPY_DISTV = 0.2.3
MODPY_DISTV = 0.2.3
GH_ACCOUNT = dotpy
GH_PROJECT = py-pf
GH_TAGNAME = ${MODPY_DISTV}
REVISION = 2
REVISION = 3
MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>
+14
View File
@@ -0,0 +1,14 @@
changed in pfvar.h 1.541
Index: pf/_struct.py
--- pf/_struct.py.orig
+++ pf/_struct.py
@@ -478,7 +478,7 @@ class timeval(Structure): # From /usr/in
class pf_queue_bwspec(Structure): # From /usr/include/net/pfvar.h
- _fields_ = [("absolute", c_uint),
+ _fields_ = [("absolute", c_uint64),
("percent", c_uint)]