ipfilter/ippool: Dump a copy of ippool in ippool.conf format
authorCy Schubert <cy@FreeBSD.org>
Wed, 21 Sep 2022 15:33:11 +0000 (08:33 -0700)
committerCy Schubert <cy@FreeBSD.org>
Thu, 22 Sep 2022 22:38:11 +0000 (15:38 -0700)
commit7531c434a593b2f369d69c85551e7ad1ebb7499a
tree5fb66eb89bde795408c9cebfb002d1301bce1277
parent7e58c8aa8245192176ac12961272bcb19dfaeb91
ipfilter/ippool: Dump a copy of ippool in ippool.conf format

Add an ippool(8) option to dump a copy of the inm-memory ippool tables
in an ippool(5) format so that it can be reloaded using ippool -f.

MFC after: 2 weeks
sbin/ipf/ippool/ippool.8
sbin/ipf/ippool/ippool.c
sbin/ipf/libipf/printpool_live.c
sbin/ipf/libipf/printpooldata.c