From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Feldman Subject: Re: [PATCH net-next 3/3 v5] iproute2: add support to print 'linkdown' nexthop flag Date: Thu, 18 Jun 2015 08:43:08 -0700 Message-ID: References: <1434640932-2681-1-git-send-email-gospo@cumulusnetworks.com> <1434640932-2681-4-git-send-email-gospo@cumulusnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Netdev , "David S. Miller" , ddutt@cumulusnetworks.com, Alexander Duyck , Hannes Frederic Sowa , "stephen@networkplumber.org" To: Andy Gospodarek Return-path: Received: from mail-oi0-f46.google.com ([209.85.218.46]:32909 "EHLO mail-oi0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752871AbbFRPna convert rfc822-to-8bit (ORCPT ); Thu, 18 Jun 2015 11:43:30 -0400 Received: by oiyy130 with SMTP id y130so43280219oiy.0 for ; Thu, 18 Jun 2015 08:43:29 -0700 (PDT) In-Reply-To: <1434640932-2681-4-git-send-email-gospo@cumulusnetworks.com> Sender: netdev-owner@vger.kernel.org List-ID: On Thu, Jun 18, 2015 at 8:22 AM, Andy Gospodarek wrote: > Signed-off-by: Andy Gospodaerk > Signed-off-by: Dinesh Dutt > > --- > ip/iproute.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/ip/iproute.c b/ip/iproute.c > index 3795baf..3369c49 100644 > --- a/ip/iproute.c > +++ b/ip/iproute.c > @@ -451,6 +451,8 @@ int print_route(const struct sockaddr_nl *who, st= ruct nlmsghdr *n, void *arg) > fprintf(fp, "offload "); > if (r->rtm_flags & RTM_F_NOTIFY) > fprintf(fp, "notify "); > + if (r->rtm_flags & RTNH_F_LINKDOWN) > + fprintf(fp, "linkdown "); iproute.c: In function =E2=80=98print_route=E2=80=99: iproute.c:454:21: error: =E2=80=98RTNH_F_LINKDOWN=E2=80=99 undeclared (= first use in this function) iproute.c:454:21: note: each undeclared identifier is reported only once for each function it appears in