]> 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, 20 Oct 2021 07:53:23 +0000 (09:53 +0200)
commita90b5b1104db4d50a5fb65861c6cc627c0a38dfe
tree8ae8d049dd279e1d3854ffe15a4a51f747d062fa
parentd5c6c2eaacba9e4272dcc334e2f6bbfc779c5de7
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")

(cherry picked from commit 776df104fa54bb581e1fb88ac44af4fa7fd4052b)
sys/netpfil/pf/pf_nv.c
sys/netpfil/pf/pf_nv.h