From nobody Sun Oct 20 14:07:04 2024 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 4XWgHD4513z5ZL60; Sun, 20 Oct 2024 14:07:04 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XWgHD3Zg2z3wmf; Sun, 20 Oct 2024 14:07:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729433224; 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=dDSxBC81FW4W3umH7eqylfj2gNGeWo5dgWu3oYMoz5Q=; b=L+w8tZyGLUc+YDhbuYd3cbmlMgtBfjNuR05sJN1p0DgGi8OYC9n1UZ1Xmdbyu5+szI1uBn ltFJeS8VBtkmtZCTJ0CEmt2J2RpOxW7cIC3jKMrIXJHT8E8m/X8Yni419oaJvDGmiksweo WC9X2lyDtIwCkAKOxg6R+Q5l+tIdU/Hr8LXVM9QVvnDyeFpbnGF9Ew8JADu+TqQGDS6ASX KYip/tqCCAIej3gmLP0tZ3KhDALvLZkW9ASGhobrmP5Y32ap6OhV/xQXAEVPBbHUazmM+A NwSlTBkHb9F6JaPZuIZR7niwTkldi0k2V4zMWNw5MRirmQH+7S8TyPU2wbFlIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729433224; 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=dDSxBC81FW4W3umH7eqylfj2gNGeWo5dgWu3oYMoz5Q=; b=lSDmRu6FxGaIsCN54GUQewdHWbotxwe7Lma8VsFNLh5OMxxHBUCNC2lCYCZw4OOMKieitv Ca0Dl1hQpWefpnEhE2kXT/H3K1kmlgItkQFJKPxx9tVH4kcn+R5NAYWjXMjFHCj1PWwW0s 7wBztKzbg71irVICyStOqv7IUtqIHGPu3eVIwg9zznjW1Fgr/Tc/taisE6yLNVzhoepyNk JOyaM7Yj/Bxc8EyZVmvKBjBKyfiynQ2Du2GW788+GvqYueLinNY4RZ73JlSXX+eDpJyeyR NzIblAVMU46pB8acRauRxmm8S50AOmoiHgQ58dgo6wkLDht1Zg5VBPrN1s6s2g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729433224; a=rsa-sha256; cv=none; b=nHH6HxRiqyJyPUUz8GqlyOcs4u+t29hNE8/WaCjLKVCq8O40V2tZoHmHhW9jf1iZIio7di Pk3xkwn9Yph1iuTqxC+TCayg+mppI3O9p1nTSLVtrvwKKU8TZx77m6ty/j9CdUfDvI9IId JMwEQkuWhY9fqH8UfBHkijtL+FYs+xsZ1jRRp11KKJvhz02foNGl0y4uDaz3BhsyjmbPwb GbqElSZDt9LX3Gg87njYeKl4UWA7NnMyT2P1OtmiIROoTiAbI+Rzu076pk/3VAbXZ90J6f FBgExZFDXHbXMSAJDDzbKKAC33EUNk/Ujk3zBGN5NWJbPCMTmiMFIEbag+6GJg== 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 4XWgHD39rWz14Sv; Sun, 20 Oct 2024 14:07:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49KE74vQ062638; Sun, 20 Oct 2024 14:07:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49KE74OS062635; Sun, 20 Oct 2024 14:07:04 GMT (envelope-from git) Date: Sun, 20 Oct 2024 14:07:04 GMT Message-Id: <202410201407.49KE74OS062635@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Zhenlei Huang Subject: git: 1c95ec17cae2 - main - ifconfig: Fix wrong indentation for the status of pfsync(4) 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zlei X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1c95ec17cae22fb76d4e93c9eada78e03ca1bca6 Auto-Submitted: auto-generated The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=1c95ec17cae22fb76d4e93c9eada78e03ca1bca6 commit 1c95ec17cae22fb76d4e93c9eada78e03ca1bca6 Author: Zhenlei Huang AuthorDate: 2024-10-20 14:06:33 +0000 Commit: Zhenlei Huang CommitDate: 2024-10-20 14:06:33 +0000 ifconfig: Fix wrong indentation for the status of pfsync(4) The leading tab is always required, regardless of the configuration of `syncdev` or `syncpeer`, as `maxupd`, `defer` and `version` all require it. Reviewed by: kp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D47112 --- sbin/ifconfig/ifpfsync.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sbin/ifconfig/ifpfsync.c b/sbin/ifconfig/ifpfsync.c index 33e4e5ac8cd3..264b1ecd5b56 100644 --- a/sbin/ifconfig/ifpfsync.c +++ b/sbin/ifconfig/ifpfsync.c @@ -374,8 +374,7 @@ pfsync_status(if_ctx *ctx) nvlist_destroy(nvl); - if (syncdev[0] != '\0' || syncpeer.ss_family != AF_UNSPEC) - printf("\t"); + printf("\t"); if (syncdev[0] != '\0') printf("syncdev: %s ", syncdev);