mirror of
https://github.com/openwrt/luci.git
synced 2026-06-17 17:03:20 +04:00
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:
+6
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user