mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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 (cherry picked from commit 1c95ec17cae22fb76d4e93c9eada78e03ca1bca6)
This commit is contained in:
parent
22aed646a5
commit
01f4a503eb
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue