From nobody Thu Dec 09 19:00:21 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C40CF18C87C4; Thu, 9 Dec 2021 19:00:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J93JQ3r23z4TxW; Thu, 9 Dec 2021 19:00:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EEB783E46; Thu, 9 Dec 2021 19:00:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1B9J0LRB055884; Thu, 9 Dec 2021 19:00:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B9J0Lma055883; Thu, 9 Dec 2021 19:00:21 GMT (envelope-from git) Date: Thu, 9 Dec 2021 19:00:21 GMT Message-Id: <202112091900.1B9J0Lma055883@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Cy Schubert Subject: git: 97625bb40ed6 - stable/12 - ipfilter: Correct function description List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: 97625bb40ed6acc0e65bad4bcebe62b70d18d154 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639076423; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Vj/kz1ix3dupD/dnHsjPDXsIyq5oKX/zJv7Xl63WH4Y=; b=abnImSuq5i03S+0z7XAqaokBHU01Tzn5S+8boF16RkrDxBa83oDaIX6yKj08O9XVmWR2Ig 8rCNE06JzWa8O3kDdFOqiG9QbBRCtzWn2k0yOr/s2NLeck7s7Ndpueh4RTrCanRzQlknE8 uJTj/YoPkNFPCsQCGVj4L7jlPBNzu6X0RsAcumFu+gDZqCDqWrM7p2r0gB+XgAf0lkCU+i sfecrBj532OrZ1BtERP6OZejDf168qjgrCB2+KammKcpyqD3ih2LivPPfGlhpN2ZMFH/MB fCm3n2KURC8PRDLsOzknF2Z+9+g0TLCgqA9rxz9dT3XDtdFOsu5f4JbcTTqIPQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639076423; a=rsa-sha256; cv=none; b=EwDQMbkf82lG35fn41gjgPOZbJKRUZS6S+9fEBLYupzy+VcTyc1HJB11NCBBXMJ5YFMGgI rE5qiG0yIA7wIpJOHppMH4vAfqHy12GfYRwIK/S6u0JGf7zl+Y0ypjEK8w5HO4AFbhitIL Nng70ZRYlT6qS+GRdJFPpkfQNtZiqrcv6m4kE8RNTmVYCEfEjGLCziIh/WSZTtfZqgK+ql NEQReJr8GL6h5dqbfr8PZ2t2medm7q0BeQRqTeS7hVwX4bO1wpcx8I5MCIOQI6WS2VNDN7 IV7V1FpQV7wtcylmRFcxOjjy3TzJMfLrx9RWzA5Age0XxIPiv3Iw8PIyQTrs8g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=97625bb40ed6acc0e65bad4bcebe62b70d18d154 commit 97625bb40ed6acc0e65bad4bcebe62b70d18d154 Author: Cy Schubert AuthorDate: 2021-10-19 00:14:43 +0000 Commit: Cy Schubert 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 */ /* */