diff options
author | Patrick Talbert <ptalbert@redhat.com> | 2019-08-03 10:47:08 +0200 |
---|---|---|
committer | Stephen Hemminger <stephen@networkplumber.org> | 2019-08-06 08:50:11 -0700 |
commit | 2d7cb22240b5b52294fc04ee3545694e5fe35605 (patch) | |
tree | 60e4b1673e745eb8fa800712597ae1aea8bc9d37 /misc/ss.c | |
parent | 18db049f6fc44dbcb9ac745b4b2804e6f0e94f91 (diff) | |
download | iproute2-2d7cb22240b5b52294fc04ee3545694e5fe35605.tar.gz |
ss: sctp: Formatting tweak in sctp_show_info for locals
'locals' output does not include a leading space so it runs up against
skmem:() output. Add a leading space to fix it.
Signed-off-by: Patrick Talbert <ptalbert@redhat.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Diffstat (limited to 'misc/ss.c')
-rw-r--r-- | misc/ss.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2937,7 +2937,7 @@ static void sctp_show_info(const struct nlmsghdr *nlh, struct inet_diag_msg *r, len = RTA_PAYLOAD(tb[INET_DIAG_LOCALS]); sa = RTA_DATA(tb[INET_DIAG_LOCALS]); - out("locals:%s", format_host_sa(sa)); + out(" locals:%s", format_host_sa(sa)); for (sa++, len -= sizeof(*sa); len > 0; sa++, len -= sizeof(*sa)) out(",%s", format_host_sa(sa)); |