]> 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>
Fri, 20 Aug 2021 11:53:48 +0000 (13:53 +0200)
commit719b5397c2887bc0619bb6ffb38f67f37bbf13c6
tree87c91726fbe7c03eb7634d74053de42eef1e3737
parenta3665770d7d85e990f7703170a27f8e2d3e455b5
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")
lib/libpfctl/libpfctl.c