diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2021-05-28 09:58:12 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2021-05-28 15:34:41 +0200 |
commit | 79947af064122438c803f3b7bc580ede093a26e4 (patch) | |
tree | 60c99bef5a3042efcf7e10e61e74753d68cd664e /protocols/luci-proto-vxlan/htdocs/luci-static/resources/protocol/vxlan6.js | |
parent | bbb3c4c4a59bc01e2f18d98596af1af354568fdd (diff) |
treewide: drop MAC and MTU from interfaces (protocols)
Those are L2 options that are not part of interfaces (L3), should not be
set there and don't work. Setting MAC and MTU should be done at device
layer (config device) and is supported for basic types already.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'protocols/luci-proto-vxlan/htdocs/luci-static/resources/protocol/vxlan6.js')
-rw-r--r-- | protocols/luci-proto-vxlan/htdocs/luci-static/resources/protocol/vxlan6.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/protocols/luci-proto-vxlan/htdocs/luci-static/resources/protocol/vxlan6.js b/protocols/luci-proto-vxlan/htdocs/luci-static/resources/protocol/vxlan6.js index f568e7e244..30250cdcfa 100644 --- a/protocols/luci-proto-vxlan/htdocs/luci-static/resources/protocol/vxlan6.js +++ b/protocols/luci-proto-vxlan/htdocs/luci-static/resources/protocol/vxlan6.js @@ -54,11 +54,6 @@ return network.registerProtocol('vxlan6', { o.nocreate = true; o.optional = true; - o = s.taboption('advanced', form.Value, 'mtu', _('Override MTU'), _('Specify an MTU (Maximum Transmission Unit) other than the default (1280 bytes).')); - o.optional = true; - o.placeholder = 1280; - o.datatype = 'range(68, 9200)'; - o = s.taboption('advanced', form.Value, 'ttl', _('Override TTL'), _('Specify a TTL (Time to Live) for the encapsulating packet other than the default (64).')); o.optional = true; o.placeholder = 64; @@ -68,10 +63,6 @@ return network.registerProtocol('vxlan6', { o.optional = true; o.datatype = 'range(0, 255)'; - o = s.taboption('advanced', form.Value, 'macaddr', _('Override MAC address')); - o.optional = true; - o.datatype = 'macaddr'; - o = s.taboption('advanced', form.Flag, 'rxcsum', _('Enable rx checksum')); o.optional = true; o.default = o.enabled; |