summaryrefslogtreecommitdiff
path: root/src/network/networkctl.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-08-15 12:57:33 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-15 13:19:03 +0200
commit3e3db0ee860025ad663b13b0ace4e6d627611332 (patch)
treecda238a8b7debf5e54f1293cef5b3114882d2233 /src/network/networkctl.c
parentad0734e890b25751ef8229e47210ff11ae8fa3f3 (diff)
networkctl: increase column width for link type to 18, to accomodate for 'ieee80211_radiotap'
Diffstat (limited to 'src/network/networkctl.c')
-rw-r--r--src/network/networkctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkctl.c b/src/network/networkctl.c
index 25097bbdf1..620bc46b8f 100644
--- a/src/network/networkctl.c
+++ b/src/network/networkctl.c
@@ -215,7 +215,7 @@ static int list_links(char **args, unsigned n) {
}
if (arg_legend)
- printf("%3s %-16s %-10s %-11s %-10s\n", "IDX", "LINK", "TYPE", "OPERATIONAL", "SETUP");
+ printf("%3s %-16s %-18s %-11s %-10s\n", "IDX", "LINK", "TYPE", "OPERATIONAL", "SETUP");
c = decode_and_sort_links(reply, &links);
if (c < 0)
@@ -240,7 +240,7 @@ static int list_links(char **args, unsigned n) {
link_get_type_string(links[i].iftype, d, &t);
- printf("%3i %-16s %-10s %s%-11s%s %s%-10s%s\n",
+ printf("%3i %-16s %-18s %s%-11s%s %s%-10s%s\n",
links[i].ifindex, links[i].name, strna(t),
on_color_operational, strna(operational_state), off_color_operational,
on_color_setup, strna(setup_state), off_color_setup);