]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ip: change flag names to an array
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 7 Jul 2017 15:37:19 +0000 (08:37 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 1 Aug 2017 15:37:53 +0000 (08:37 -0700)
commitf73ac674d0abf414c44b87bd5da3af01a6fb64f6
tree70c13bebd509532728ba842acb51df2c1470de01
parentc369dc803bfc99540f88a583171b6c3394f5338b
ip: change flag names to an array

For the most of the address flags, use a table of values rather
than open coding every value.  This allows for easier inevitable
expansion of flags.

This also fixes the missing stable-privacy flag.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/ipaddress.c