Date: Thu, 31 Oct 2024 04:43:51 GMT From: Zhenlei Huang <zlei@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 01f4a503eb0f - stable/14 - ifconfig: Fix wrong indentation for the status of pfsync(4) Message-ID: <202410310443.49V4hpfj006446@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=01f4a503eb0feaacc4cb9bd189dea66344365352 commit 01f4a503eb0feaacc4cb9bd189dea66344365352 Author: Zhenlei Huang <zlei@FreeBSD.org> AuthorDate: 2024-10-20 14:06:33 +0000 Commit: Zhenlei Huang <zlei@FreeBSD.org> 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410310443.49V4hpfj006446>