From 3e3db0ee860025ad663b13b0ace4e6d627611332 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 15 Aug 2014 12:57:33 +0200 Subject: [PATCH] networkctl: increase column width for link type to 18, to accomodate for 'ieee80211_radiotap' --- src/network/networkctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/network/networkctl.c b/src/network/networkctl.c index 25097bbdf1d..620bc46b8fb 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);