pf.conf.5: 'address' is mandatory with route-to

Adjust the BNF, and don't claim it is optional in the text.

PR:		290059
MFC after:	3 days
Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Kristof Provost
2025-10-07 10:13:23 +02:00
parent d3bfcd6640
commit 306f29475f
+3 -3
View File
@@ -27,7 +27,7 @@
.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd August 28, 2025
.Dd October 7, 2025
.Dt PF.CONF 5
.Os
.Sh NAME
@@ -2377,7 +2377,7 @@ packets matching the same connection.
.It Ar route-to
The
.Ar route-to
option routes the packet to the specified interface with an optional address
option routes the packet to the specified interface with an address
for the next hop.
When a
.Ar route-to
@@ -3552,7 +3552,7 @@ hosts = "all" |
ipspec = "any" | host | "{" host-list "}"
host = [ "!" ] ( address [ "/" mask-bits ] | "<" string ">" )
redirhost = address [ "/" mask-bits ]
routehost = "(" interface-name [ address [ "/" mask-bits ] ] ")"
routehost = "(" interface-name address [ "/" mask-bits ] ")"
address = ( interface-name | interface-group |
"(" ( interface-name | interface-group ) ")" |
hostname | ipv4-dotted-quad | ipv6-coloned-hex )