luci-proto-vxlan: add destination port option
Signed-off-by: Wojciech Jowsa <wojciech.jowsa@gmail.com>
This commit is contained in:
parent
4e202475e2
commit
6dd22ec98d
1 changed files with 5 additions and 0 deletions
|
@ -45,6 +45,11 @@ return network.registerProtocol('vxlan', {
|
|||
o.optional = true;
|
||||
o.datatype = 'ip4addr("nomask")';
|
||||
|
||||
o = s.taboption('general', form.Value, 'port', _('Destination port'));
|
||||
o.optional = true;
|
||||
o.placeholder = 4789;
|
||||
o.datatype = 'port';
|
||||
|
||||
o = s.taboption('general', form.Value, 'vid', _('VXLAN network identifier'), _('ID used to uniquely identify the VXLAN'));
|
||||
o.optional = true;
|
||||
o.datatype = 'range(1, 16777216)';
|
||||
|
|
Loading…
Reference in a new issue