]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf: Introduce pf_nvbool()
authorKristof Provost <kp@FreeBSD.org>
Wed, 13 Oct 2021 09:00:46 +0000 (11:00 +0200)
committerKristof Provost <kp@FreeBSD.org>
Wed, 13 Oct 2021 10:01:09 +0000 (12:01 +0200)
commit776df104fa54bb581e1fb88ac44af4fa7fd4052b
tree72da3dbf8f9c18c1f8e0b93e6dcc68a4b148f585
parente2e2c622c35f3e54dbae88e3de3e48c51dbb4ebd
pf: Introduce pf_nvbool()

Similar to the existing functions for strings and ints, this lets us
simplify some of the nvlist conversion code.

MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
sys/netpfil/pf/pf_nv.c
sys/netpfil/pf/pf_nv.h