]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libpfctl: Fix endianness issues
authorKristof Provost <kp@FreeBSD.org>
Fri, 20 Aug 2021 11:43:15 +0000 (13:43 +0200)
committerKristof Provost <kp@FreeBSD.org>
Mon, 23 Aug 2021 14:25:28 +0000 (16:25 +0200)
commit956b3ddd63993ae0f0df968ff9f40e9b0286fc77
treed3705dfc19dfa6592d30745c95902b6b3994da29
parentba32d146077e187464648456a516041b02c1a4ce
libpfctl: Fix endianness issues

Several fields are supplied in big-endian format, so we need to convert
them before we display them.

MFC after: 3 days
Sponsored by: Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 719b5397c2887bc0619bb6ffb38f67f37bbf13c6)
lib/libpfctl/libpfctl.c