proto: allow configuring deprecated static IPv6 addresses
authorMatthias Schiffer <mschiffer@universe-factory.net>
Fri, 23 Dec 2016 15:55:20 +0000 (16:55 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sat, 24 Dec 2016 09:53:07 +0000 (10:53 +0100)
commit64a655d8ffa9f0cea1bbdd35cac6b3b99b865270
tree286336772f3d236936eb9f7fd7dce5757cbc5213
parentc99182e96d2b66bab77d9eb9584ca7e0211966aa
proto: allow configuring deprecated static IPv6 addresses

Add a new boolean attribute ip6deprecated to the static protocol which can
be used to mark IPv6 addresses as deprecated (i.e., set the preferred
lifetime to 0). This is useful to configure addresses that may be used for
incoming, but not for outgoing connections unless bound explicitly.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
proto.c