]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ip: allow ip address show to list addresses with certain flags not being set
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 22 Dec 2014 19:18:43 +0000 (20:18 +0100)
committerStephen Hemminger <shemming@brocade.com>
Wed, 24 Dec 2014 20:16:31 +0000 (12:16 -0800)
commitb5f39b2588a6b0312f11ac6d0fab9391b105b83c
tree2553bbb82d025960fa30e6fb8d84f1bd4ccd2203
parent79aa79d0581cef6ddab635f7f2b88e81f920573a
ip: allow ip address show to list addresses with certain flags not being set

Sometimes it's needed to have "ip address show" list only addresses
with certain flags not being set, e.g. in network scripts.
As an example one might want to exclude addresses in "tentative"
or "deprecated" state.

Support listing addresses with flags tentative, deprecated, dadfailed
not being set by prefixing the respective flag with a minus.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
ip/ipaddress.c