From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH iproute2] ip rule: Require at least one argument for add Date: Thu, 1 Nov 2018 12:54:15 -0700 Message-ID: <20181101125415.27f1a590@xeon-e3> References: <20181030205905.14209-1-dsahern@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, David Ahern To: David Ahern Return-path: Received: from mail-pl1-f180.google.com ([209.85.214.180]:36924 "EHLO mail-pl1-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726717AbeKBE7W (ORCPT ); Fri, 2 Nov 2018 00:59:22 -0400 Received: by mail-pl1-f180.google.com with SMTP id bh10-v6so9448166plb.4 for ; Thu, 01 Nov 2018 12:54:58 -0700 (PDT) In-Reply-To: <20181030205905.14209-1-dsahern@kernel.org> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, 30 Oct 2018 13:59:05 -0700 David Ahern wrote: > From: David Ahern > > 'ip rule add' with no additional arguments just adds another rule > for the main table - which exists by default. Require at least > 1 argument similar to delete. > > Signed-off-by: David Ahern Applied these two