]> git.proxmox.com Git - mirror_iproute2.git/commit - ip/iprule.c
iproute: disallow ip rule del without parameters
authorAndrey Jr. Melnikov <temnota.am@gmail.com>
Wed, 24 Aug 2016 20:43:00 +0000 (23:43 +0300)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 1 Sep 2016 15:41:37 +0000 (08:41 -0700)
commit67a990b8112611e5e4b64f2a5f6ee890422d7695
tree28465efb995f2c928b73888e6fd5562d26d3eb97
parent567e6960721b7e3b78cae7a46f8cd057b505ad9a
iproute: disallow ip rule del without parameters

Disallow run `ip rule del` without any parameter to avoid delete any first
rule from table.

Signed-off-by: Andrey Jr. Melnikov <temnota.am@gmail.com>
ip/iprule.c