Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Oct 2025 02:31:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 290059] pf.conf(5) BNF errors
Message-ID:  <bug-290059-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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 the assignee for the bug.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-290059-227>