[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190930175150.GA2235@nanopsycho>
Date: Mon, 30 Sep 2019 19:51:50 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: Stephen Hemminger <stephen@...workplumber.org>
Cc: netdev@...r.kernel.org, davem@...emloft.net,
jakub.kicinski@...ronome.com, dsahern@...il.com,
roopa@...ulusnetworks.com, dcbw@...hat.com,
nikolay@...ulusnetworks.com, mkubecek@...e.cz, andrew@...n.ch,
parav@...lanox.com, saeedm@...lanox.com, f.fainelli@...il.com,
sd@...asysnail.net, sbrivio@...hat.com, pabeni@...hat.com,
mlxsw@...lanox.com
Subject: Re: [patch net-next 1/2] ip: add support for alternative name
addition/deletion/list
Mon, Sep 30, 2019 at 06:27:18PM CEST, stephen@...workplumber.org wrote:
>On Mon, 30 Sep 2019 11:59:02 +0200
>Jiri Pirko <jiri@...nulli.us> wrote:
>
>> + open_json_array(PRINT_JSON, "altnames");
>> + for (i = RTA_DATA(proplist); RTA_OK(i, rem);
>> + i = RTA_NEXT(i, rem)) {
>> + if (i->rta_type != IFLA_ALT_IFNAME)
>> + continue;
>> + print_string(PRINT_FP, "NULL", "%s altname ", _SL_);
>
>You can pass real NULL versus quoted NULL when doing print to file only
Okay, will do.
Powered by blists - more mailing lists