On Mon, Aug 29, 2016 at 10:53:25AM -0700, Stephen Hemminger wrote: > On Wed, 24 Aug 2016 23:43:00 +0300 > "Andrey Jr. Melnikov" <temnota...@gmail.com> wrote: > > > Disallow run `ip rule del` without any parameter to avoid delete any first > > rule from table. ... > Actually ip rule delete without arguments deletes all rules. > Which could be a bug or feature depending on the user. > I can imagine somebody is doing something like deleting all rules > and putting in new ones for PBR.
We have "ip rule flush" for that, don't we? Michal Kubecek