From: Hangbin Liu <liuhangbin@gmail.com>
To: network dev <netdev@vger.kernel.org>
Cc: Hangbin Liu <liuhangbin@gmail.com>
Subject: [patch iproute2] ipaddress: add a black line for each device to make the output more readable
Date: Mon, 11 Nov 2013 23:03:30 +0800 [thread overview]
Message-ID: <1384182210-8901-1-git-send-email-liuhangbin@gmail.com> (raw)
When we have multi links, the output huddled together and make it hard to read.
Let's use the old ifconfig output style.
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
---
ip/ipaddress.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ip/ipaddress.c b/ip/ipaddress.c
index 1c3e4da..9570f16 100644
--- a/ip/ipaddress.c
+++ b/ip/ipaddress.c
@@ -782,6 +782,7 @@ static int print_selected_addrinfo(int ifindex, struct nlmsg_list *ainfo, FILE *
print_addrinfo(NULL, n, fp);
}
+ fprintf(fp, "\n");
return 0;
}
--
1.8.1.4
next reply other threads:[~2013-11-11 15:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-11 15:03 Hangbin Liu [this message]
2013-11-11 15:08 ` [patch iproute2] ipaddress: add a black line for each device to make the output more readable Hangbin Liu
2013-11-11 16:31 ` Jiri Benc
2013-11-12 2:09 ` Hangbin Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1384182210-8901-1-git-send-email-liuhangbin@gmail.com \
--to=liuhangbin@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).