1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Fix bypass port destination

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-05-02 18:24:57 +02:00
parent 8fdb3fef12
commit e4a6d5e4fb

View file

@ -62,13 +62,12 @@ return L.view.extend({
o = s.option(form.Value, 'dport', _('port'));
o.rmempty = false;
o = s.option(form.MultiValue, 'proto', _('protocol'));
o = s.option(form.ListValue, 'proto', _('protocol'));
o.default = 'tcp';
o.modalonly = true;
o.custom = true;
o.rmempty = false;
o.value('tcp');
o.value('udp');
o.value('icmp');
o = s.option(widgets.DeviceSelect, 'interface', _('Interface'));
o.noaliases = true;