diff --git a/netflow/iptables.sh b/netflow/iptables.sh index 4d7d0ae..a37a450 100644 --- a/netflow/iptables.sh +++ b/netflow/iptables.sh @@ -8,8 +8,7 @@ __main() { update-alternatives --set iptables /usr/sbin/iptables-legacy 2>/dev/null update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy 2>/dev/null - readarray -t _owner_ids < <(3003,51000) - + _owner_ids=(3003 51000) _chain="output_netflow_owner_51000" for _owner_id in "${_owner_ids[@]}"; do