mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-30 16:55:13 +08:00
update 2026-08-04 04:58:06
This commit is contained in:
1 parent
dc43f0b500
commit
53eb47560b
1958 files changed
+4
-1523143
No files matched your search
@@ -205,7 +205,9 @@ gen_nftset() {
|
||||
nft "add set $NFTABLE_NAME $nftset_name { type $ip_type; flags interval, timeout; timeout $timeout_argument_set; gc-interval $gc_interval_time; auto-merge; }"
|
||||
fi
|
||||
fi
|
||||
[ $# -gt 0 ] || [ ! -t 0 ] && insert_nftset "$nftset_name" "$timeout_argument_element" "$@"
|
||||
if [ $# -gt 0 ]; then
|
||||
insert_nftset "$nftset_name" "$timeout_argument_element" "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
gen_shunt_list() {
|
||||
|
||||
Reference in new issue
Block a user