[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rdr number/symbolic name inconsistency



Eg, a pf.conf rule like,
rdr on $outside_if proto tcp from any to 10.1.3.20 port smtp ->
192.168.0.3 port smtp
will result in,
$ pfctl -sn | grep smtp                                                                 
rdr on fxp0 inet proto tcp from any to 10.1.3.20 port = smtp ->
192.168.0.3 port 25
Wouldn't it be better if we had 'port = smtp' insted of 'port 25' after
the '->' as well?
Any reason for this?
This is on -current from few days ago.
// haver