Add FILTER_MARK support

This commit is contained in:
remittor
2025-09-18 15:17:18 +03:00
parent bd2e62c8a6
commit 81f4b493f6
4 changed files with 14 additions and 0 deletions

View File

@@ -167,6 +167,11 @@ return view.extend({
//o.description = _("nfqws option for DPI desync attack");
o.rmempty = false;
o.datatype = 'string';
o = s.taboption(tabname, form.Value, 'FILTER_MARK', _('FILTER_MARK'));
o.rmempty = false;
o.validate = function(section_id, value) { return true; };
o.write = function(section_id, value) { return form.Value.prototype.write.call(this, section_id, (value == null || value.trim() == '') ? "\t" : value.trim()); };
o = s.taboption(tabname, form.Value, 'NFQWS_PORTS_TCP', _('NFQWS_PORTS_TCP'));
o.rmempty = false;