Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Mar 2021 22:37:16 GMT
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 5ba4c8de1521 - main - ifconfig: 80211, add line break after key info
Message-ID:  <202103242237.12OMbGch081209@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=5ba4c8de15210bbc026c41b77b23d5af06613fe6

commit 5ba4c8de15210bbc026c41b77b23d5af06613fe6
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2021-03-23 15:08:46 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2021-03-24 22:26:39 +0000

    ifconfig: 80211, add line break after key info
    
    Beauty correction for verbose mode or in case we print multiple key
    information to not continue with the next options directly after
    as we did so far, e.g.:
            AES-CCM 2:128-bit
            AES-CCM 3:128-bit powersavemode ...
    
    Sponsored-by:   The FreeBSD Foundation
    MFC-after:      2 weeks
    Reviewed-by:    adrian
    Differential Revision:  https://reviews.freebsd.org/D29393
---
 sbin/ifconfig/ifieee80211.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sbin/ifconfig/ifieee80211.c b/sbin/ifconfig/ifieee80211.c
index cfaf163f5930..ee611a14b45e 100644
--- a/sbin/ifconfig/ifieee80211.c
+++ b/sbin/ifconfig/ifieee80211.c
@@ -5060,6 +5060,8 @@ ieee80211_status(int s)
 				printkey(&ik);
 			}
 		}
+		if (i > 0 && verbose)
+			LINE_BREAK();
 end:
 		;
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103242237.12OMbGch081209>