git: 05490438f2ed - stable/13 - ifconfig: 80211, add line break after key info

Bjoern A. Zeeb bz at FreeBSD.org
Sun Jul 18 00:35:50 UTC 2021


The branch stable/13 has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=05490438f2edd7704a7a2eb570ffc33334bce5af

commit 05490438f2edd7704a7a2eb570ffc33334bce5af
Author:     Bjoern A. Zeeb <bz at FreeBSD.org>
AuthorDate: 2021-03-23 15:08:46 +0000
Commit:     Bjoern A. Zeeb <bz at FreeBSD.org>
CommitDate: 2021-07-18 00:34:57 +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
    Reviewed by:    adrian
    Differential Revision:  https://reviews.freebsd.org/D29393
    
    (cherry picked from commit 5ba4c8de15210bbc026c41b77b23d5af06613fe6)
---
 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:
 		;
 	}


More information about the dev-commits-src-all mailing list