1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-21 07:15:49 +00:00

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
This commit is contained in:
Zhenlei Huang 2024-10-20 22:06:33 +08:00
parent bd66c1b43e
commit 1c95ec17ca

View File

@ -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);