Kristof Provost 735748f30a libpfctl: fix creatorid endianness
We provide the hostid (which is the state creatorid) to the kernel as a
big endian number (see pfctl/pfctl.c pfctl_set_hostid()), so convert it
back to system endianness when we get it from the kernel.

This avoids a confusing mismatch between the value the user configures
and the value displayed in the state.

MFC after:	3 weeks
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D33989
2022-01-27 09:07:27 +01:00
..
2019-08-13 20:06:55 +00:00
2019-11-21 01:24:49 +00:00
2019-11-21 01:24:49 +00:00
2022-01-09 10:16:31 -07:00
2019-08-13 20:06:55 +00:00
2022-01-12 13:52:23 +08:00
2022-01-02 17:53:55 -07:00
2021-03-28 14:45:05 -04:00
2022-01-07 21:46:53 -08:00
2021-02-11 06:03:53 +01:00
2021-12-07 11:40:22 +01:00
2022-01-08 12:45:46 +02:00
2021-08-14 14:48:39 +02:00
2021-09-11 20:04:52 +08:00
2020-10-09 14:03:45 +00:00
2021-04-17 23:16:17 +02:00
2022-01-27 09:07:27 +01:00
2020-11-26 04:29:30 +00:00
2019-12-11 17:37:53 +00:00
2020-07-05 13:08:17 +00:00
2021-12-05 21:40:47 -07:00