mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 21:24:35 +04:00
luci-mod-network: reveal ra_preference as router priority
router preference sounds ambiguous, so we name it priority which
has an unambiguous meaning.
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
(cherry picked from commit c937c7fa27)
This commit is contained in:
@@ -889,6 +889,14 @@ return view.extend({
|
||||
so.depends('ra', 'server');
|
||||
so.depends({ ra: 'hybrid', master: '0' });
|
||||
|
||||
so = ss.taboption('ipv6-ra', form.ListValue, 'ra_preference', _('Router Priority'),
|
||||
_('A tie-breaker for clients and their routes when multiple routers exist on the same network.'));
|
||||
so.default = 'medium';
|
||||
so.value('low', _('Low'));
|
||||
so.value('medium', _('Medium'));
|
||||
so.value('high', _('High'));
|
||||
so.depends('ra', 'server');
|
||||
|
||||
so = ss.taboption('ipv6-ra', form.RichListValue, 'ra_flags', _('<abbr title="Router Advertisement">RA</abbr> Flags'),
|
||||
_('Specifies the flags sent in <abbr title="Router Advertisement">RA</abbr> messages, for example to instruct clients to request further information via stateful DHCPv6.'));
|
||||
so.optional = true;
|
||||
|
||||
Reference in New Issue
Block a user