]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libpfctl: fix pfctl_kill_states()
authorKristof Provost <kp@FreeBSD.org>
Mon, 31 Jan 2022 17:31:53 +0000 (18:31 +0100)
committerKristof Provost <kp@FreeBSD.org>
Mon, 31 Jan 2022 18:13:26 +0000 (19:13 +0100)
commit6f47a72d8ebf444641bda192b33eb217c9013811
tree3c9194a7433c6eae9e024aca84f094ec404a8ee5
parentd7e8005bfa6517b1a82626d48daaa25678a7e4cd
libpfctl: fix pfctl_kill_states()

735748f30a changed the output of the states so that the creator id
endianness would be consistent. This means that we need to convert the
host endianness creatorid back to big-endian before we give it to the
kernel.

MFC after: 3 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")
lib/libpfctl/libpfctl.c