🍓 Sync 2026-08-04 08:33:18

This commit is contained in:
github-actions[bot]
2026-08-04 08:33:18 +08:00
parent 0cd021d3f0
commit d56fd78efc
3 changed files with 36 additions and 22 deletions
@@ -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() {