]> git.ipfire.org Git - thirdparty/iproute2.git/commit
iproute: list/flush/save filter also by metric
authorAlexander Zubkov <green@msu.ru>
Sun, 17 Dec 2017 12:02:11 +0000 (13:02 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 19 Dec 2017 16:16:10 +0000 (08:16 -0800)
commited7fdc950d641376352061f2799dd2d0dd72accd
treec5218db7fdce593c4932e2021314048920fb7bad
parent560cf612531ffa12fc10fc3fbbaee7dc5d8eafdc
iproute: list/flush/save filter also by metric

Metric is one of the "unique key" fields of the route in Linux. But
still one can not use its value in filter while running ip list.
Because of this writing checks in scripts for example is incovenient.

Signed-off-by: Alexander Zubkov <green@msu.ru>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/iproute.c