Re: [patch iproute2] iproute2: ipa: show switch id

2015-07-09 Thread Jiri Pirko
Wed, Jul 08, 2015 at 11:29:42PM CEST, dsah...@gmail.com wrote: On 7/8/15 9:08 AM, Jiri Pirko wrote: We forgot to include this patch somehow. So do it now. Signed-off-by: Jiri Pirko j...@resnulli.us --- ip/ipaddress.c | 8 1 file changed, 8 insertions(+) diff --git a/ip/ipaddress.c

Re: [patch iproute2] iproute2: ipa: show switch id

2015-07-09 Thread Jiri Pirko
Thu, Jul 09, 2015 at 03:05:10AM CEST, step...@networkplumber.org wrote: On Wed, 8 Jul 2015 17:08:18 +0200 Jiri Pirko j...@resnulli.us wrote: +if (tb[IFLA_PHYS_SWITCH_ID]) { +SPRINT_BUF(b1); +fprintf(fp, switchid %s , +

Re: [patch iproute2] iproute2: ipa: show switch id

2015-07-09 Thread Stephen Hemminger
On Thu, 9 Jul 2015 08:09:18 +0200 Jiri Pirko j...@resnulli.us wrote: Thu, Jul 09, 2015 at 03:05:10AM CEST, step...@networkplumber.org wrote: On Wed, 8 Jul 2015 17:08:18 +0200 Jiri Pirko j...@resnulli.us wrote: + if (tb[IFLA_PHYS_SWITCH_ID]) { + SPRINT_BUF(b1); +

[patch iproute2] iproute2: ipa: show switch id

2015-07-08 Thread Jiri Pirko
We forgot to include this patch somehow. So do it now. Signed-off-by: Jiri Pirko j...@resnulli.us --- ip/ipaddress.c | 8 1 file changed, 8 insertions(+) diff --git a/ip/ipaddress.c b/ip/ipaddress.c index 85a81ba..b7b4e3e 100644 --- a/ip/ipaddress.c +++ b/ip/ipaddress.c @@ -688,6

Re: [patch iproute2] iproute2: ipa: show switch id

2015-07-08 Thread Andy Gospodarek
On Wed, Jul 08, 2015 at 05:08:18PM +0200, Jiri Pirko wrote: We forgot to include this patch somehow. So do it now. I noticed this the other day and wondered where it was. Thanks for posting it before I searched archives wondering why it was not. Signed-off-by: Jiri Pirko j...@resnulli.us

Re: [patch iproute2] iproute2: ipa: show switch id

2015-07-08 Thread David Ahern
On 7/8/15 9:08 AM, Jiri Pirko wrote: We forgot to include this patch somehow. So do it now. Signed-off-by: Jiri Pirko j...@resnulli.us --- ip/ipaddress.c | 8 1 file changed, 8 insertions(+) diff --git a/ip/ipaddress.c b/ip/ipaddress.c index 85a81ba..b7b4e3e 100644 ---

Re: [patch iproute2] iproute2: ipa: show switch id

2015-07-08 Thread Stephen Hemminger
On Wed, 8 Jul 2015 17:08:18 +0200 Jiri Pirko j...@resnulli.us wrote: + if (tb[IFLA_PHYS_SWITCH_ID]) { + SPRINT_BUF(b1); + fprintf(fp, switchid %s , + hexstring_n2a(RTA_DATA(tb[IFLA_PHYS_SWITCH_ID]), +