Date: Fri, 21 Jul 2006 09:48:14 +0000 (UTC) From: Max Laier <mlaier@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/contrib/pf/net pf_ioctl.c Message-ID: <200607210948.k6L9mEiM036349@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mlaier 2006-07-21 09:48:13 UTC
FreeBSD src repository
Modified files:
sys/contrib/pf/net pf_ioctl.c
Log:
Import from OpenBSD 1.168, dhartmei:
fix a bug in the input sanity check of DIOCCHANGERULE (not used by pfctl,
but third-party tools). a rule must have a non-empty replacement address
list when it's a translation rule but not an anchor call (i.e. "nat ...
->" needs a replacement address, but "nat-anchor ..." doesn't). the check
confused "rule is an anchor call" with "rule is defined within an anchor".
report from Michal Mertl, Max Laier.
Obtained from: OpenBSD
MFC after: 2 weeks
Revision Changes Path
1.25 +3 -2 src/sys/contrib/pf/net/pf_ioctl.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607210948.k6L9mEiM036349>
