Fix the parsing of NPt binat rules.

In this specific case the src address can be set to any, which was not
accepted prior to this commit.

pfSense bug report:	https://redmine.pfsense.org/issues/6985
Reviewed by:	kp
Obtained from:	pfSense
MFC after:	2 weeks
Sponsored by:	Rubicon Communications, LLC (Netgate)
This commit is contained in:
Luiz Otavio O Souza 2016-12-28 16:16:48 +00:00
parent a86fdf887e
commit 1e93588b1d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=310707

View File

@ -4195,7 +4195,7 @@ natrule : nataction interface af proto fromto tag tagged rtable
}
;
binatrule : no BINAT natpasslog interface af proto FROM host toipspec tag
binatrule : no BINAT natpasslog interface af proto FROM ipspec toipspec tag
tagged rtable redirection
{
struct pf_rule binat;