luci-base: support ip6ifaceid option for proto_static
authorHannu Nyman <hannu.nyman@iki.fi>
Sun, 21 May 2017 19:02:46 +0000 (22:02 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Sun, 21 May 2017 19:08:38 +0000 (22:08 +0300)
Add support for 'ip6ifaceid' option for proto_static in LuCI.

Information about the option:
 The option is optional and defaults to '::1'.
 Allowed values: 'eui64', 'random', fixed value like '::1' or '::1:2'

 When IPv6 prefix (like 'a:b:c:d::') is received from a delegating
 server, the ip6ifaceid suffix (like '::1') is used to form
 the IPv6 address ('a:b:c:d::1') for the interface.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

No differences found