Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
o = s.taboption('general', widgets.NetworkSelect, 'trm_vpnifacelist', _('Limit VPN processing'), _('Limit VPN processing to certain interfaces.'));
o.depends('trm_vpn', '1');
- o.unspecified = true;
o.multiple = true;
o.nocreate = true;
o.rmempty = true;
o.ucisection = 'uplink';
o.ucioption = 'macaddr';
o.nocreate = false;
- o.unspecified = true;
o.rmempty = true;
o.datatype = 'macaddr';
o.cfgvalue = function (section_id) {
}
o = s.taboption('vpn', widgets.NetworkSelect, '_vpniface', _('VPN Interface'), _('The logical vpn network interface like \'wg0\'.'));
- o.unspecified = false;
o.nocreate = true;
o.optional = true;
o.modalonly = true;