diff options
| author | Zhenlei Huang <zlei@FreeBSD.org> | 2024-10-20 14:06:33 +0000 |
|---|---|---|
| committer | Zhenlei Huang <zlei@FreeBSD.org> | 2024-10-20 14:06:33 +0000 |
| commit | 1c95ec17cae22fb76d4e93c9eada78e03ca1bca6 (patch) | |
| tree | 31e16ef55e2497bd6af6469b9c4e3b1ae03a7030 | |
| parent | bd66c1b43e33540205dbc1187c2f2a15c58b57ba (diff) | |
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
| -rw-r--r-- | sbin/ifconfig/ifpfsync.c | 3 |
1 files changed, 1 insertions, 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); |
