FIX handling NTP protocol.

This commit is contained in:
2026-09-09 15:39:34 +02:00
parent cafa99d944
commit 76d60cae2a
+2 -2
View File
@@ -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