From nobody Tue Jan 4 02:07:42 2022 X-Original-To: dev-commits-src-main@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 C05A2191FD75; Tue, 4 Jan 2022 02:07:44 +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 4JSbby5wSdz3D3b; Tue, 4 Jan 2022 02:07:42 +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 1FF9110AB6; Tue, 4 Jan 2022 02:07:42 +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 20427g61042733; Tue, 4 Jan 2022 02:07:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20427gN9042732; Tue, 4 Jan 2022 02:07:42 GMT (envelope-from git) Date: Tue, 4 Jan 2022 02:07:42 GMT Message-Id: <202201040207.20427gN9042732@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Cy Schubert Subject: git: 2eef572879af - main - ipfilter module: Remove trailing whitespace List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 2eef572879afe0309e3c538017c7909c1b7307d0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641262062; 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=tIZrYImsxeBJG9jZZ5iNqyz631wBKE26DwHbJ7GVO9w=; b=pk/rpA5W6ioG1wDDeySjsqVjEVkiWDeCubwVCU2+hhrEBtaOoMtskKVhY+EYulo4w5Bwp0 ECa+uiyoasL2U81ZOrRcKVYbc2ZJ0BQXdO87WMfHvqbXbQRrh/jXJ9hmphWMazrp747XXg mhxZOd5ce5m5jgI6EMdOkL1EWlnzyiilkCnAQGliYZI/bnufmWWvaav3x2e9Ep47OvLffj y2yQqFCjMCGCo7v0ePCaedQqWq3LkvC/wHab3X8x/wiV7AHvRQARMDzmQhNnnmQoefXi3o WE+YLzQNOEYhw3t4/Pfr4XhmvQXUHluIjJV6S5QVS2ucUtZxW/KtEykjFls5xg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641262062; a=rsa-sha256; cv=none; b=CUsuamKCkis7XQ8gewumaqDDHy0DQh4/hYqguUHNvtSgcb92DYUEfU0OS/oESmqcefH6V9 LFLxWnSM11jXEBbQD54vyBacOGmBFnqb/PUK4Cw4GP0tFJ0IYpHzPhKbxZ+5IEW99gU/kV FoPCvA/9VANGwqU/DEubtD19lvbnT324ELdj8tSWD7SmW4vBoROVO+w5qyszEYnlHiy9H2 dEKDUGtux54oI4KX7o5+0C3ihaMF6nbGlTp9LWcevzlox2PdROHyQjlNeGyCBvF49kqgn1 Ny0FIif+ilFjkgifVJoZ3Ok3INNuGtoNv2txqJUb34jJ0ooMZji72zBstAl4wA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=2eef572879afe0309e3c538017c7909c1b7307d0 commit 2eef572879afe0309e3c538017c7909c1b7307d0 Author: Cy Schubert AuthorDate: 2021-12-22 03:06:01 +0000 Commit: Cy Schubert CommitDate: 2022-01-04 02:06:43 +0000 ipfilter module: Remove trailing whitespace MFC after: 1 month --- sys/netpfil/ipfilter/netinet/ip_fil.h | 2 +- sys/netpfil/ipfilter/netinet/ip_nat6.c | 4 ++-- sys/netpfil/ipfilter/netinet/ip_proxy.c | 8 ++++---- sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sys/netpfil/ipfilter/netinet/ip_fil.h b/sys/netpfil/ipfilter/netinet/ip_fil.h index a01bd28e7270..bf553faf2abe 100644 --- a/sys/netpfil/ipfilter/netinet/ip_fil.h +++ b/sys/netpfil/ipfilter/netinet/ip_fil.h @@ -694,7 +694,7 @@ typedef struct frentry { int fr_group; /* group to which this rule belongs */ int fr_grhead; /* group # which this rule starts */ int fr_isctag; - int fr_rpc; /* XID Filtering */ + int fr_rpc; /* XID Filtering */ ipftag_t fr_nattag; /* * These are all options related to stateful filtering diff --git a/sys/netpfil/ipfilter/netinet/ip_nat6.c b/sys/netpfil/ipfilter/netinet/ip_nat6.c index c8c822c59600..ceff221d2a56 100644 --- a/sys/netpfil/ipfilter/netinet/ip_nat6.c +++ b/sys/netpfil/ipfilter/netinet/ip_nat6.c @@ -313,8 +313,8 @@ ipf_nat6_delrdr(ipf_nat_softc_t *softn, ipnat_t *n) *n->in_prnext = n->in_rnext; n->in_use--; } - - + + /* ------------------------------------------------------------------------ */ /* Function: ipf_nat6_delmap */ /* Returns: Nil */ diff --git a/sys/netpfil/ipfilter/netinet/ip_proxy.c b/sys/netpfil/ipfilter/netinet/ip_proxy.c index 511075797259..3c81e51609b0 100644 --- a/sys/netpfil/ipfilter/netinet/ip_proxy.c +++ b/sys/netpfil/ipfilter/netinet/ip_proxy.c @@ -1265,7 +1265,7 @@ ipf_proxy_fixseqack(fr_info_t *fin, ip_t *ip, ap_session_t *aps, int inc) /* */ /* This function creates a NAT rule that is based upon the reverse packet */ /* flow associated with this NAT session. Thus if this NAT session was */ -/* created with a map rule then this function will create a rdr rule. */ +/* created with a map rule then this function will create a rdr rule. */ /* Only address fields and network interfaces are assigned in this function */ /* and the address fields are formed such that an exact is required. If the */ /* original rule had a netmask, that is not replicated here not is it */ @@ -1275,7 +1275,7 @@ ipf_proxy_fixseqack(fr_info_t *fin, ip_t *ip, ap_session_t *aps, int inc) /* to be setup, based on the addresses used for the control connection. In */ /* that case, this function is used to handle creating NAT rules to support */ /* data connections with the PORT and EPRT commands. */ -/* ------------------------------------------------------------------------ */ +/* ------------------------------------------------------------------------ */ ipnat_t * ipf_proxy_rule_rev(nat_t *nat) { @@ -1358,11 +1358,11 @@ ipf_proxy_rule_rev(nat_t *nat) /* */ /* The purpose and rationale of this function is much the same as the above */ /* function, ipf_proxy_rule_rev, except that a rule is created that matches */ -/* the same direction as that of the existing NAT session. Thus if this NAT */ +/* the same direction as that of the existing NAT session. Thus if this NAT */ /* session was created with a map rule then this function will also create */ /* a data structure to represent a map rule. Whereas ipf_proxy_rule_rev is */ /* used to support PORT/EPRT, this function supports PASV/EPSV. */ -/* ------------------------------------------------------------------------ */ +/* ------------------------------------------------------------------------ */ ipnat_t * ipf_proxy_rule_fwd(nat_t *nat) { diff --git a/sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c b/sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c index de046f64f0b4..2ba51f3272af 100644 --- a/sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c +++ b/sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c @@ -420,7 +420,7 @@ ipf_p_tftp_client(ipf_tftp_softc_t *softt, fr_info_t *fin, ap_session_t *aps, switch (opcode) { case TFTP_CMD_WRITE : - if (softt->ipf_p_tftp_readonly != 0) + if (softt->ipf_p_tftp_readonly != 0) break; /* FALLTHROUGH */ case TFTP_CMD_READ :