Fix error creating 'smtpd_additional_listen_port_arr'.
This commit is contained in:
parent
e6984a622c
commit
aab8585d90
@ -1756,9 +1756,9 @@ fi
|
|||||||
|
|
||||||
echononl "\t\tMail (additional smtp ports IN)"
|
echononl "\t\tMail (additional smtp ports IN)"
|
||||||
|
|
||||||
if [[ ${#smtpd_additional_listen_ports[@]} -gt 0 ]] ; then
|
if [[ ${#smtpd_additional_listen_port_arr[@]} -gt 0 ]] ; then
|
||||||
|
|
||||||
for _port in ${smtpd_additional_listen_ports[@]} ; do
|
for _port in ${smtpd_additional_listen_port_arr[@]} ; do
|
||||||
for _dev in ${ext_if_arr[@]} ; do
|
for _dev in ${ext_if_arr[@]} ; do
|
||||||
$ip6t -A INPUT -i $_dev -p tcp --dport $_port -m state --state NEW -j ACCEPT
|
$ip6t -A INPUT -i $_dev -p tcp --dport $_port -m state --state NEW -j ACCEPT
|
||||||
if $kernel_forward_between_interfaces ; then
|
if $kernel_forward_between_interfaces ; then
|
||||||
|
@ -1922,9 +1922,9 @@ fi
|
|||||||
|
|
||||||
echononl "\t\tMail (additional smtp ports IN)"
|
echononl "\t\tMail (additional smtp ports IN)"
|
||||||
|
|
||||||
if [[ ${#smtpd_additional_listen_ports[@]} -gt 0 ]] ; then
|
if [[ ${#smtpd_additional_listen_port_arr[@]} -gt 0 ]] ; then
|
||||||
|
|
||||||
for _port in ${smtpd_additional_listen_ports[@]} ; do
|
for _port in ${smtpd_additional_listen_port_arr[@]} ; do
|
||||||
for _dev in ${ext_if_arr[@]} ; do
|
for _dev in ${ext_if_arr[@]} ; do
|
||||||
$ipt -A INPUT -i $_dev -p tcp --dport $_port -m state --state NEW -j ACCEPT
|
$ipt -A INPUT -i $_dev -p tcp --dport $_port -m state --state NEW -j ACCEPT
|
||||||
if $kernel_activate_forwarding ; then
|
if $kernel_activate_forwarding ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user