From nobody Thu Dec 09 18:59:00 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 E0E0A18C6E0C; Thu, 9 Dec 2021 18:59:00 +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 4J93Gr2wdPz4TSL; Thu, 9 Dec 2021 18:59:00 +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 22F5440A2; Thu, 9 Dec 2021 18:59:00 +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 1B9Ix07r046183; Thu, 9 Dec 2021 18:59:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B9Ix0ka046182; Thu, 9 Dec 2021 18:59:00 GMT (envelope-from git) Date: Thu, 9 Dec 2021 18:59:00 GMT Message-Id: <202112091859.1B9Ix0ka046182@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: 7e63bbe7d687 - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: 7e63bbe7d6876781d39711f8cb75863bc0892ea4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639076340; 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=6CHDLjA3rAkkmmn4om/Soj401vU2MeicSFZanm1VMIU=; b=gyTnVNxUh5nUGQ0T7azmy2V2YgnDLYGfULbRh3pK0o0OyBO5GR7AA6Km5uqTI++L9zVYJ4 VDYDpD1xdHnBCzyjY+VG0bw3CvlDyse2u4HALxbUFfUGrwgxgQORQq4AF822cCbhaa0/vx AgbmmctJcz8fNdpNaOBIRV9m+smACgTdwZbTkNVhMVZK/xEWYIR6CpSlXFdukufnQGrwyJ pnU5eEoQg7vnlfpP+IdxSDeKl6YN76WfFSbsHUYcLU16wH2AGrSZqJ0ypAN0N5chakt4bF 0KcGIY0auVoxglfkG16qH7+npIrKYYrL+QTRGmLH5FAznE8bwibQVvhvM/M1cA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639076340; a=rsa-sha256; cv=none; b=PAO/hhFp59hd6ZPXyreTq0eDMWpmPGvs2JUEmlnoN35EX3ymOq00sSqEr/biKlTe/h0vMA fWQc5Vdr4cyfuHqh3I6gxVrejV8Z2Kd00Lh02k0GqPJ3QrzdmcFojsUZ2HB+ZWvx3uAMxP Bt5ZblfspPRsE0oJdRx2X5yIEL0hcWRuXko+DvcIDaV4kilGSvj2/MS6Cax3BtMjXmlg5t eUlRdBUzYqMwpQaFcUhmFUgdfdZP/zrSJZxZaZmrFjsSqbsJvuaqYsm6w6qwe0SchDkj2t ZbfZ7SqRwNcaew3e3xmKLt0GErr2YOTm68mA71iRPRYeApx9TsaOoOgkzerrQw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=7e63bbe7d6876781d39711f8cb75863bc0892ea4 commit 7e63bbe7d6876781d39711f8cb75863bc0892ea4 Author: Cy Schubert AuthorDate: 2021-10-19 00:14:43 +0000 Commit: Cy Schubert 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 */ /* */