[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJieiUgE0is9766Fyqzcs620B98cUfP4PtH7dYsg5zOE=w9E+A@mail.gmail.com>
Date: Tue, 6 Mar 2018 08:47:46 -0800
From: Roopa Prabhu <roopa@...ulusnetworks.com>
To: David Ahern <dsahern@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH iproute2 net-next v2] iprule: support for ip_proto, sport
and dport match options
On Tue, Mar 6, 2018 at 8:18 AM, David Ahern <dsahern@...il.com> wrote:
> On 3/5/18 11:22 AM, Roopa Prabhu wrote:
>
>> diff --git a/ip/iprule.c b/ip/iprule.c
>> index 6fdc9b5..a6a16e6 100644
>> --- a/ip/iprule.c
>> +++ b/ip/iprule.c
>> @@ -45,7 +45,10 @@ static void usage(void)
>> " ip rule [ list [ SELECTOR ]]\n"
>> "SELECTOR := [ not ] [ from PREFIX ] [ to PREFIX ] [ tos TOS ] [ fwmark FWMARK[/MASK] ]\n"
>> " [ iif STRING ] [ oif STRING ] [ pref NUMBER ] [ l3mdev ]\n"
>> - " [ uidrange NUMBER-NUMBER ]\n"
>> + " [ uidrange NUMBER-NUMBER ]"
>> + " [ ip_proto [tcp | udp | sctp] ]"
>> + " [ sport [ NUMBER | NUMBER-NUMBER ]"
>> + " [ dport [ NUMBER | NUMBER-NUMBER ] ]\n"
>> "ACTION := [ table TABLE_ID ]\n"
>> " [ protocol PROTO ]\n"
>> " [ nat ADDRESS ]\n"
>
> missing newlines at the end of uidrange, ip_proto and sport lines; makes
> the help impossible to read
>
ack, v3 coming...
Powered by blists - more mailing lists