From nobody Tue Jan 04 02:07:46 2022 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 C70A4191FFF4; Tue, 4 Jan 2022 02:07:49 +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 4JSbc40KjDz3D62; Tue, 4 Jan 2022 02:07:47 +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 A62691092A; Tue, 4 Jan 2022 02:07:46 +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 20427kls042835; Tue, 4 Jan 2022 02:07:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20427ksd042834; Tue, 4 Jan 2022 02:07:46 GMT (envelope-from git) Date: Tue, 4 Jan 2022 02:07:46 GMT Message-Id: <202201040207.20427ksd042834@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: 5e13b104a408 - main - ipfilter userland: Fix whitespace errors 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/main X-Git-Reftype: branch X-Git-Commit: 5e13b104a4083c022162a06ffab4f37e7e93aa45 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641262068; 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=Ms35rzm7QjlhIsMhI9NEx9Hkjrus/CnMCHkgMlvtpR0=; b=P7G4EEuJGi0UsN4CrQpPIqsmkiYE/GeyuGs3ndUJh9MetDdHiLisB4DacFLiKF6lpvLt80 YB9f6xSrAmmEtwrSvM2FBJ3fkdLrr+Epz+6f1+xMAClGAOokvNQubVuxCLh+tZMUMERQtk L1wpWU79TEsKVBDw+TnUop8syx7Zl7e2E5aziKo3YNlwoqjEav27G1iGFWOgj+v6V38vDa IAMMCydTCUfomZol/ghIvP8HI5ItjcDgCUVxaAhAOd/Ac4XiVmlZ89SMY4zDZFYN/T9b2E mOHpAAtFZwKvAnTwNkNU1qLMa4HTUDj9WtN8IHyWrOOAIS2qZcFC+xaUtfk1OQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641262068; a=rsa-sha256; cv=none; b=q0qHEseyqu4TaBxRHhkVz4pMim74nFfXm6nxhbyx/Vg7iI7qOOjjBTSq0eGwZFPmBks1hS +6MlSiFbCwavjfztuL6QjaALXqJxNWJSoUclFLPnF7xwysP1ITtdHhrzdEFRhTMKu2gBAo LUJyhVK3fzcbk41flc13VNqmPozqZDzaDlsieHiNFG00IYVN2lQHr5kjzP+69Q6n8tO06/ Yt4wmv+zAzDrUfNWgpFlzrksaOlBUBHBtZxAWHucDIMWz7ElQ923dN9++mjrElEh/EErgb Eik0pmW68eG+UijeDS/OKoNZJ2HCUSp8yEU5qhPrGy19aq8va7u08Azqub/CRg== 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=5e13b104a4083c022162a06ffab4f37e7e93aa45 commit 5e13b104a4083c022162a06ffab4f37e7e93aa45 Author: Cy Schubert AuthorDate: 2021-12-22 05:11:44 +0000 Commit: Cy Schubert CommitDate: 2022-01-04 02:06:44 +0000 ipfilter userland: Fix whitespace errors Replace leading spaces with a tabs on affected lines. MFC after: 1 month --- sbin/ipf/ipfstat/ipfstat.c | 2 +- sbin/ipf/ipftest/md5.c | 14 +++++++------- sbin/ipf/ippool/ippool.c | 2 +- sbin/ipf/ipsend/44arp.c | 4 ++-- sbin/ipf/ipsend/arp.c | 4 ++-- sbin/ipf/ipsend/ip.c | 14 +++++++------- 6 files changed, 20 insertions(+), 20 deletions(-) diff --git a/sbin/ipf/ipfstat/ipfstat.c b/sbin/ipf/ipfstat/ipfstat.c index 424e93da2d20..ccf2e12442bb 100644 --- a/sbin/ipf/ipfstat/ipfstat.c +++ b/sbin/ipf/ipfstat/ipfstat.c @@ -1487,7 +1487,7 @@ static void topipstates(i6addr_t saddr, i6addr_t daddr, int sport, int dport, getmaxyx(stdscr, maxy, maxx); redraw = 1; handle_resize = 0; - } + } /* stop program? */ if (handle_break) diff --git a/sbin/ipf/ipftest/md5.c b/sbin/ipf/ipftest/md5.c index b9e8ff99de82..d27430b1f212 100644 --- a/sbin/ipf/ipftest/md5.c +++ b/sbin/ipf/ipftest/md5.c @@ -143,10 +143,10 @@ void MD5Update (MD5_CTX *mdContext, unsigned char *inBuf, unsigned int inLen) /* transform if necessary */ if (mdi == 0x40) { for (i = 0, ii = 0; i < 16; i++, ii += 4) - in[i] = (((UINT4)mdContext->in[ii+3]) << 24) | - (((UINT4)mdContext->in[ii+2]) << 16) | - (((UINT4)mdContext->in[ii+1]) << 8) | - ((UINT4)mdContext->in[ii]); + in[i] = (((UINT4)mdContext->in[ii+3]) << 24) | + (((UINT4)mdContext->in[ii+2]) << 16) | + (((UINT4)mdContext->in[ii+1]) << 8) | + ((UINT4)mdContext->in[ii]); Transform (mdContext->buf, in); mdi = 0; } @@ -177,9 +177,9 @@ void MD5Final (unsigned char hash[], MD5_CTX *mdContext) /* append length in bits and transform */ for (i = 0, ii = 0; i < 14; i++, ii += 4) in[i] = (((UINT4)mdContext->in[ii+3]) << 24) | - (((UINT4)mdContext->in[ii+2]) << 16) | - (((UINT4)mdContext->in[ii+1]) << 8) | - ((UINT4)mdContext->in[ii]); + (((UINT4)mdContext->in[ii+2]) << 16) | + (((UINT4)mdContext->in[ii+1]) << 8) | + ((UINT4)mdContext->in[ii]); Transform (mdContext->buf, in); /* store buffer in digest */ diff --git a/sbin/ipf/ippool/ippool.c b/sbin/ipf/ippool/ippool.c index 12c9c85800d5..2d09b67e918c 100644 --- a/sbin/ipf/ippool/ippool.c +++ b/sbin/ipf/ippool/ippool.c @@ -1089,7 +1089,7 @@ setnodeaddr(int type, int role, void *ptr, char *arg) } else if (type == IPLT_HASH) { iphtent_t *node = ptr; - node->ipe_family = family; + node->ipe_family = family; node->ipe_unit = role; #ifdef USE_INET6 diff --git a/sbin/ipf/ipsend/44arp.c b/sbin/ipf/ipsend/44arp.c index f949c77614cc..17188adfb7f8 100644 --- a/sbin/ipf/ipsend/44arp.c +++ b/sbin/ipf/ipsend/44arp.c @@ -37,8 +37,8 @@ */ int resolve(char *host, char *address) { - struct hostent *hp; - u_long add; + struct hostent *hp; + u_long add; add = inet_addr(host); if (add == -1) diff --git a/sbin/ipf/ipsend/arp.c b/sbin/ipf/ipsend/arp.c index 82df2e694e17..47b1702bdad3 100644 --- a/sbin/ipf/ipsend/arp.c +++ b/sbin/ipf/ipsend/arp.c @@ -36,8 +36,8 @@ static const char rcsid[] = "@(#)$Id$"; */ int resolve(char *host, char *address) { - struct hostent *hp; - u_long add; + struct hostent *hp; + u_long add; add = inet_addr(host); if (add == -1) diff --git a/sbin/ipf/ipsend/ip.c b/sbin/ipf/ipsend/ip.c index 7e24e459f8c3..96fa83ada601 100644 --- a/sbin/ipf/ipsend/ip.c +++ b/sbin/ipf/ipsend/ip.c @@ -337,15 +337,15 @@ send_packet(int nfd, int mtu, ip_t *ip, struct in_addr gwip) ip_t *ip; struct in_addr gwip; { - switch (ip->ip_p) - { - case IPPROTO_TCP : + switch (ip->ip_p) + { + case IPPROTO_TCP : ( return send_tcp(nfd, mtu, ip, gwip)); - case IPPROTO_UDP : + case IPPROTO_UDP : ( return send_udp(nfd, mtu, ip, gwip)); - case IPPROTO_ICMP : + case IPPROTO_ICMP : ( return send_icmp(nfd, mtu, ip, gwip)); - default : + default : ( return send_ip(nfd, mtu, ip, gwip, 1)); - } + } }