git: 5ba4c8de1521 - main - ifconfig: 80211, add line break after key info

Bjoern A. Zeeb bz at FreeBSD.org
Wed Mar 24 22:37:17 UTC 2021


The branch main has been updated by bz:

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

commit 5ba4c8de15210bbc026c41b77b23d5af06613fe6
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-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:
 		;
 	}


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