git: 97625bb40ed6 - stable/12 - ipfilter: Correct function description
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 Dec 2021 19:00:21 UTC
The branch stable/12 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=97625bb40ed6acc0e65bad4bcebe62b70d18d154 commit 97625bb40ed6acc0e65bad4bcebe62b70d18d154 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:52:11 +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 */ /* */