netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [iproute2 json PATCH] ip: ipaddress: fix missing space after prefixlen
@ 2017-09-20 20:04 Julien Fortin
  2017-09-20 20:13 ` Julien Fortin
  0 siblings, 1 reply; 2+ messages in thread
From: Julien Fortin @ 2017-09-20 20:04 UTC (permalink / raw)
  To: netdev; +Cc: roopa, nikolay, dsa, sd, Julien Fortin

From: Julien Fortin <julien@cumulusnetworks.com>

Fixes: d0e720111aad2 ("ip: ipaddress.c: add support for json output")

Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
---
 ip/ipaddress.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ip/ipaddress.c b/ip/ipaddress.c
index 97971450..fb496bbb 100644
--- a/ip/ipaddress.c
+++ b/ip/ipaddress.c
@@ -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)
-- 
2.14.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [iproute2 json PATCH] ip: ipaddress: fix missing space after prefixlen
  2017-09-20 20:04 [iproute2 json PATCH] ip: ipaddress: fix missing space after prefixlen Julien Fortin
@ 2017-09-20 20:13 ` Julien Fortin
  0 siblings, 0 replies; 2+ messages in thread
From: Julien Fortin @ 2017-09-20 20:13 UTC (permalink / raw)
  To: netdev; +Cc: Roopa Prabhu, Nikolay Aleksandrov, David Ahern, sd, Julien Fortin

Sorry Sabrina, looks like i forgot the reported-by tag, i'll send a v2...

On Wed, Sep 20, 2017 at 1:04 PM, Julien Fortin
<julien@cumulusnetworks.com> wrote:
> From: Julien Fortin <julien@cumulusnetworks.com>
>
> Fixes: d0e720111aad2 ("ip: ipaddress.c: add support for json output")
>
> Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
> ---
>  ip/ipaddress.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/ip/ipaddress.c b/ip/ipaddress.c
> index 97971450..fb496bbb 100644
> --- a/ip/ipaddress.c
> +++ b/ip/ipaddress.c
> @@ -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)
> --
> 2.14.1
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-20 20:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-20 20:04 [iproute2 json PATCH] ip: ipaddress: fix missing space after prefixlen Julien Fortin
2017-09-20 20:13 ` Julien Fortin

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).