"sticky-address" seems to work with "source-hash".

But the manual page looks like:

  round-robin [sticky-address]

      The round-robin option...
  
  source-hash [key]

      The source-hash option...

This misleads people think source-hash doesn't work with
sticky-address.

ok?

Index: share/man/man5/pf.conf.5
===================================================================
RCS file: /cvs/src/share/man/man5/pf.conf.5,v
retrieving revision 1.577
diff -u -p -r1.577 pf.conf.5
--- share/man/man5/pf.conf.5    12 Jul 2018 05:54:49 -0000      1.577
+++ share/man/man5/pf.conf.5    24 Apr 2019 05:17:02 -0000
@@ -1045,7 +1045,7 @@ Weights can be specified between 1 and 6
 Addresses with higher weights are selected more often.
 .Cm sticky-address
 is as described above.
-.It Cm source-hash Op Ar key
+.It Cm source-hash Oo Ar key Oc Op Cm sticky-address
 The
 .Cm source-hash
 option uses a hash of the source address to determine the redirection address,
@@ -1057,6 +1057,8 @@ by default
 .Xr pfctl 8
 randomly generates a key for source-hash every time the
 ruleset is reloaded.
+.Cm sticky-address
+is as described above.
 .It Cm static-port
 With
 .Cm nat-to

Reply via email to