Page MenuHomeFreeBSD

pf: Slightly relax pf_rule_addr validation
ClosedPublic

Authored by kp on Sat, Feb 13, 4:33 PM.

Diff Detail

Repository
R10 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.Sat, Feb 13, 4:33 PM
donner added inline comments.
sys/netpfil/pf/pf_ioctl.c
1563–1568

May give "switch () { case x: case y: ... " a try. It's easier to maintain and offers more flexibility for the compiler.

This revision is now accepted and ready to land.Sun, Feb 14, 11:16 AM
This revision was automatically updated to reflect the committed changes.