CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2009/09/02 07:28:03
Modified files:
share/man/man5 : pf.conf.5
sbin/pfctl : parse.y pfctl_parser.c
Log message:
all the new *-to options are part of the "filteropts" section at the
end of a pf rule (nat-to, divert-to, rdr-to, ...). take the
historical chance to upgrade the grammar and move the route options to
the filteropts section as well.
for example,
pass in on em0 route-to (em1 192.168.1.1) from 10.1.1.1
becomes
pass in on em0 from 10.1.1.1 route-to (em1 192.168.1.1)
many people like this including pyr@ mk@ kettenis@ todd@ and others
ok henning@