From nobody Thu Oct 31 04:43:51 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 4XfBGH3Vhfz5b3Yx; Thu, 31 Oct 2024 04:43:51 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XfBGH2VcKz53dr; Thu, 31 Oct 2024 04:43:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730349831; 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=03159X6m+JfGXhYfbbGxMNgn+qfBMAgAkFOqaBE5Ios=; b=RPBW0/iCp2qBiZQbL4QH7H/vfy9tzFXfDuOl0MHs3fEnUKOYsDbPZYZ7MP8h0Ly/JWcF84 ujHFQWcJSC5G1XQcawOz2LF5pA9N26PmIkvMpEWrzJJh/5Ml551Q3DozDKKXZvroVb0Nkp XkXZeurAKCIU/+Z3cFzCJxcHZtzJVhhIT7d2q6Dd26R1VSU7wWbyvfhmZm24gnB/IQfojp 1g21NpLVRhRD5ko1NoUw7ugQ6U6qkrUTh1bBh7YmlTcH/ySJt9JkwCAKp+Ov5LsE1Z0t/z DhXPobWHUi3RdhPHpLkabPbjYUdBc5xI/GADSRWd/BXVZE5a7RiIcrKKPMZbgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730349831; 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=03159X6m+JfGXhYfbbGxMNgn+qfBMAgAkFOqaBE5Ios=; b=V903cD8NbqnIs7R0LdAdoLdlIGH4xhrw96s9+NxODlcG1DjZNN/sDlaGhdTkC3l0WXREqw Hg6UW5Oq5iQ3gEGxBXJ9mRQbrfgKNkvnYLpVY94JLz1Tx7fRIfMfTxaj3wjXNLGxpIwT1N 3yKKLpi7EVsweWwJqwKYT272G1Qj9zkMQ++o+c23/Sp//13EJH1V/cHYySIIho7cQbKPr6 iNU43zPnBbKweAbijqBVoZ1AybGhY0Xdud5vyOsYj9KylBw1vWbGnPY6ADtSMk2JtaTyO+ IviR/z0wtqEre2Xt9JZPkWUBSpSvhmYO83FsygqICLxjFdUzw+cPIn7qmMQB0g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730349831; a=rsa-sha256; cv=none; b=xEJPm28OiFJ1v7d3Ab9GTOViWkD32DUXqFYU0dXx773g1DdkW94ElWyELoIHw08ySaLDlG OrJ4ml7PTd8KGYjiYjA1PhXakoiyrRrWAUnlgDtaxUPfikYPcQ5C5SD7A65cT0++Zrci+s aVFtMQYE0QLR8f6lkumvqtE5h/xCPz0Mb2RqDST3e+G+vosVFkhkwu11CjLSR0XhxXEQA8 KuR37txdy1zsw59ZntAlW/grKTBYMIPlNr6QENIMNZomP+eA5Qo2+Bp/58LUrQg5f1USPH YsIRic+NZYcJapIIY9xyRfHmP+d8RJ0fbuV8aDIinYL2ToLWf4CjZBJKNMM2Wg== 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 4XfBGH1xD6zM1W; Thu, 31 Oct 2024 04:43:51 +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 49V4hpB4006449; Thu, 31 Oct 2024 04:43:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49V4hpfj006446; Thu, 31 Oct 2024 04:43:51 GMT (envelope-from git) Date: Thu, 31 Oct 2024 04:43:51 GMT Message-Id: <202410310443.49V4hpfj006446@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Zhenlei Huang Subject: git: 01f4a503eb0f - stable/14 - 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/stable/14 X-Git-Reftype: branch X-Git-Commit: 01f4a503eb0feaacc4cb9bd189dea66344365352 Auto-Submitted: auto-generated The branch stable/14 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=01f4a503eb0feaacc4cb9bd189dea66344365352 commit 01f4a503eb0feaacc4cb9bd189dea66344365352 Author: Zhenlei Huang AuthorDate: 2024-10-20 14:06:33 +0000 Commit: Zhenlei Huang CommitDate: 2024-10-31 04:40:16 +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 (cherry picked from commit 1c95ec17cae22fb76d4e93c9eada78e03ca1bca6) --- 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);