mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-29 09:25:13 +08:00
update 2026-08-04 14:22:43
This commit is contained in:
1 parent
13eee19b50
commit
dedf7ef28d
19 files changed
+3
-159
No files matched your search
@@ -236,7 +236,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" "$@"
|
||||
if [ $# -gt 0 ]; then
|
||||
insert_nftset "$nftset_name" "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
get_jump_nft() {
|
||||
|
||||
Reference in new issue
Block a user