aboutsummaryrefslogtreecommitdiff
path: root/sbin/ifconfig
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2021-03-23 15:08:46 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2021-03-24 22:26:39 +0000
commit5ba4c8de15210bbc026c41b77b23d5af06613fe6 (patch)
tree7c1d1e9cbffa2a6f45aa61109c4ab221868db3e9 /sbin/ifconfig
parenta29bbfe6c6e41691bdd3bd0e5be89089523485d6 (diff)
downloadsrc-5ba4c8de15210bbc026c41b77b23d5af06613fe6.tar.gz
src-5ba4c8de15210bbc026c41b77b23d5af06613fe6.zip
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
Diffstat (limited to 'sbin/ifconfig')
-rw-r--r--sbin/ifconfig/ifieee80211.c2
1 files changed, 2 insertions, 0 deletions
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:
;
}