[Bug 290059] pf.conf(5) BNF errors
Date: Tue, 07 Oct 2025 02:31:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290059
            Bug ID: 290059
           Summary: pf.conf(5) BNF errors
           Product: Documentation
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Manual Pages
          Assignee: bugs@FreeBSD.org
          Reporter: pprocacci@gmail.com
                CC: doc@FreeBSD.org
FreeBSD 14.3 Release
Invalid, results in syntax error:
  pass in on igb0 route-to ( igb0 ) from any to any
Valid, no syntax error:
  pass in on igb0 route-to ( igb0 12.34.56.78 ) from any to any
According to the BNF in pf.conf(5), both are valid.
     route          = ( "route-to" | "reply-to" | "dup-to" )
                      ( routehost | "{" routehost-list "}" )
                      [ pooltype ]
     routehost = "(" interface-name [ address [ "/" mask-bits ] ] ")"
-- 
You are receiving this mail because:
You are on the CC list for the bug.