From: Simon Horman Subject: Re: [iproute PATCH] man: ip-route.8: Fix ENCAP references in synopsis Date: Fri, 30 Nov 2018 15:39:05 +0100 Message-ID: <20181130143904.sduen7blpjobyyl5@netronome.com> References: <20181128111232.13620-1-phil@nwl.cc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Stephen Hemminger , netdev@vger.kernel.org To: Phil Sutter Return-path: Received: from mail-ed1-f66.google.com ([209.85.208.66]:42035 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbeLABsn (ORCPT ); Fri, 30 Nov 2018 20:48:43 -0500 Received: by mail-ed1-f66.google.com with SMTP id j6so5011192edp.9 for ; Fri, 30 Nov 2018 06:39:10 -0800 (PST) Content-Disposition: inline In-Reply-To: <20181128111232.13620-1-phil@nwl.cc> Sender: netdev-owner@vger.kernel.org List-ID: Hi Phil, On Wed, Nov 28, 2018 at 12:12:32PM +0100, Phil Sutter wrote: > The different encapsulation types are described in ENCAP_* > non-terminals, but ENCAP definition lists them without the ENCAP_ > prefix. Fix this for consistency. > > Signed-off-by: Phil Sutter > --- > man/man8/ip-route.8.in | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/man/man8/ip-route.8.in b/man/man8/ip-route.8.in > index 11dd4ca7abf68..26dfe0b06c86b 100644 > --- a/man/man8/ip-route.8.in > +++ b/man/man8/ip-route.8.in > @@ -187,7 +187,8 @@ throw " | " unreachable " | " prohibit " | " blackhole " | " nat " ]" > > .ti -8 > .IR ENCAP " := [ " > -.IR MPLS " | " IP " | " BPF " | " SEG6 " | " SEG6LOCAL " ] " > +.IR ENCAP_MPLS " | " ENCAP_IP " | " ENCAP_BPF " | " > +.IR ENCAP_SEG6 " | " ENCAP_SEG6LOCAL " ] " > > .ti -8 > .IR ENCAP_MPLS " := " This looks good but do we have another inconsistency with regards to ENCAP and ENCAPTYPE ENCAPHDR (further down). Glancing over the file the following also seem inconsistent: * NH / NEXTHOP * SCOPE / SCOPE_VAL I didn't check very thoroughly so there could well be more.