Date: Thu, 9 Dec 2021 18:59:00 GMT From: Cy Schubert <cy@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 7e63bbe7d687 - stable/13 - ipfilter: Correct function description Message-ID: <202112091859.1B9Ix0ka046182@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=7e63bbe7d6876781d39711f8cb75863bc0892ea4 commit 7e63bbe7d6876781d39711f8cb75863bc0892ea4 Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2021-10-19 00:14:43 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2021-12-09 18:50:22 +0000 ipfilter: Correct function description As of 874b1a35486b, ip_proxy_check() return codes have been simplified. The original comment was also incorrect in the first place. (cherry picked from commit 06b96a4bd606999538a1ca2f408342bf8540acb4) --- sys/contrib/ipfilter/netinet/ip_proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/contrib/ipfilter/netinet/ip_proxy.c b/sys/contrib/ipfilter/netinet/ip_proxy.c index a1a9379b95a6..b90ad09d8c00 100644 --- a/sys/contrib/ipfilter/netinet/ip_proxy.c +++ b/sys/contrib/ipfilter/netinet/ip_proxy.c @@ -886,7 +886,7 @@ ipf_proxy_new(fin, nat) /* ------------------------------------------------------------------------ */ /* Function: ipf_proxy_check */ -/* Returns: int - -1 == error, 0 == success */ +/* Returns: int - -1 == error, 1 == success */ /* Parameters: fin(I) - pointer to packet information */ /* nat(I) - pointer to current NAT session */ /* */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112091859.1B9Ix0ka046182>