From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH iproute2-next v4 8/9] utils: Introduce and use print_name_and_link() to print name@link Date: Thu, 15 Feb 2018 10:59:42 -0800 Message-ID: <20180215105942.5d8e0616@xeon-e3> References: <1518719648-30134-1-git-send-email-serhe.popovych@gmail.com> <1518719648-30134-9-git-send-email-serhe.popovych@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, dsahern@gmail.com To: Serhey Popovych Return-path: Received: from mail-pg0-f50.google.com ([74.125.83.50]:38818 "EHLO mail-pg0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161471AbeBOS7q (ORCPT ); Thu, 15 Feb 2018 13:59:46 -0500 Received: by mail-pg0-f50.google.com with SMTP id l24so491228pgc.5 for ; Thu, 15 Feb 2018 10:59:46 -0800 (PST) In-Reply-To: <1518719648-30134-9-git-send-email-serhe.popovych@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: On Thu, 15 Feb 2018 20:34:07 +0200 Serhey Popovych wrote: > + fprintf(fp, "%d: ", ifi->ifi_index); > + > + print_name_and_link("%s: ", COLOR_NONE, name, tb); This should be COLOR_IFNAME but I am working on that.