ip: ipaddress: fix missing space after prefixlen
Fixes: d0e720111a ("ip: ipaddress.c: add support for json output")
Reported-by: Sabrina Dubroca <sd@queasysnail.net>
Reviewed-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
This commit is contained in:
parent
bc6ba66047
commit
6335c5ff67
|
|
@ -1604,7 +1604,7 @@ int print_addrinfo(const struct sockaddr_nl *who, struct nlmsghdr *n,
|
|||
format_host_rta(ifa->ifa_family,
|
||||
rta_tb[IFA_ADDRESS]));
|
||||
}
|
||||
print_int(PRINT_ANY, "prefixlen", "/%d", ifa->ifa_prefixlen);
|
||||
print_int(PRINT_ANY, "prefixlen", "/%d ", ifa->ifa_prefixlen);
|
||||
}
|
||||
|
||||
if (brief)
|
||||
|
|
|
|||
Loading…
Reference in New Issue