]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf tests: Test automatically generated tables
authorKristof Provost <kp@FreeBSD.org>
Mon, 26 Apr 2021 09:14:44 +0000 (11:14 +0200)
committerKristof Provost <kp@FreeBSD.org>
Mon, 26 Apr 2021 16:08:15 +0000 (18:08 +0200)
commit08d77308211f823b8532d27790e8fd29eaf75c77
tree54f9ed7f7f57d27ed73b626ab729c35f44d3abc3
parent402dfb0a8d2c6417cb9bff4460ef250a42b0aa05
pf tests: Test automatically generated tables

Add a test case where the pfctl optimizer will generate a table
automatically. These tables have long names, which we accidentally broke
in the nvlist ADDRULE ioctl.

Reviewed by: melifaro
MFC after: 2 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D29989
tests/sys/netpfil/pf/table.sh