diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2021-10-19 00:14:43 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2021-12-09 18:52:11 +0000 |
| commit | 97625bb40ed6acc0e65bad4bcebe62b70d18d154 (patch) | |
| tree | 1b5423b17c57f6b3233d590b2f30df071c777a90 | |
| parent | 09aa9a1f82bfccfd7e87dcf7f2bf055d2c137b52 (diff) | |
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)
| -rw-r--r-- | sys/contrib/ipfilter/netinet/ip_proxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ /* */ |
