]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pfctl: fix killing states by ID
authorKristof Provost <kp@FreeBSD.org>
Tue, 24 Aug 2021 10:24:28 +0000 (12:24 +0200)
committerKristof Provost <kp@FreeBSD.org>
Tue, 31 Aug 2021 07:47:43 +0000 (09:47 +0200)
commit7b4013ac3220327944cd96027dea620bf93ce228
tree01e7f46fd5f683939e29be3c1ffbabee7280925b
parent15a46b046db50ab773cce73fbf884283259a6fd5
pfctl: fix killing states by ID

Since the conversion to the new DIOCKILLSTATESNV the kernel no longer
exists the id and creatorid to be big-endian.
As a result killing states by id (i.e. `pfctl -k id -k 12345`) no longer
worked.

Reported by: Özkan KIRIK
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")

(cherry picked from commit e59eff9ad3285838730acf48f6d066cec0e53114)
sbin/pfctl/pfctl.c