FIX handling NTP protocol.
This commit is contained in:
@@ -861,11 +861,11 @@ done
|
|||||||
# ---
|
# ---
|
||||||
if $allow_ntp_request_out ; then
|
if $allow_ntp_request_out ; then
|
||||||
|
|
||||||
if containsElement "${standard_ntp_udp_port}" "${out_udp_port_arr[@]}" ; then
|
if ! containsElement "${standard_ntp_udp_port}" "${out_udp_port_arr[@]}" ; then
|
||||||
out_udp_port_arr+=("$standard_ntp_udp_port")
|
out_udp_port_arr+=("$standard_ntp_udp_port")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if containsElement "${standard_ntp_tcp_port}" "${out_tcp_port_arr[@]}" ; then
|
if ! containsElement "${standard_ntp_tcp_port}" "${out_tcp_port_arr[@]}" ; then
|
||||||
out_tcp_port_arr+=("$standard_ntp_tcp_port")
|
out_tcp_port_arr+=("$standard_ntp_tcp_port")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user