git: 06b96a4bd606 - main - ipfilter: Correct function description
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 Dec 2021 14:34:38 UTC
The branch main has been updated by cy:
URL: https://cgit.FreeBSD.org/src/commit/?id=06b96a4bd606999538a1ca2f408342bf8540acb4
commit 06b96a4bd606999538a1ca2f408342bf8540acb4
Author: Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2021-10-19 00:14:43 +0000
Commit: Cy Schubert <cy@FreeBSD.org>
CommitDate: 2021-12-04 14:33:13 +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.
MFC after: 3 days
---
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 */
/* */