luci-app-shadowsocks-libev: add fields nft_{tcp,udp}_extra
They were proposed in openwrt/packages#17970 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
parent
98e0832f18
commit
cea4277670
1 changed files with 6 additions and 0 deletions
|
@ -64,6 +64,12 @@ return view.extend({
|
|||
o.multiple = true;
|
||||
o.noaliases = true;
|
||||
o.noinactive = true;
|
||||
s.taboption('general', form.Value, 'nft_tcp_extra',
|
||||
_('Extra tcp expression'),
|
||||
_('Extra nftables expression for matching tcp traffics, e.g. "tcp dport { 80, 443 }"'));
|
||||
s.taboption('general', form.Value, 'nft_udp_extra',
|
||||
_('Extra udp expression'),
|
||||
_('Extra nftables expression for matching udp traffics, e.g. "udp dport { 53 }"'));
|
||||
|
||||
src_dst_option(s, 'src', form.DynamicList, 'src_ips_bypass',
|
||||
_('Src ip/net bypass'),
|
||||
|
|
Loading…
Reference in a new issue