Page MenuHomeFreeBSD

pf tests: Test automatically generated tables
ClosedPublic

Authored by kp on Apr 26 2021, 11:45 AM.

Details

Summary

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.

MFC after: 2 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

kp requested review of this revision.Apr 26 2021, 11:45 AM
melifaro added inline comments.
tests/sys/netpfil/pf/table.sh
151

Double quotes for consistebcy?

This revision is now accepted and ready to land.Apr 26 2021, 11:57 AM
This revision now requires review to proceed.Apr 26 2021, 12:30 PM
This revision was not accepted when it landed; it landed in state Needs Review.Apr 26 2021, 4:10 PM
This revision was automatically updated to reflect the committed changes.