From 76d60cae2adfb66d606acf34b84b31880d41e2aa Mon Sep 17 00:00:00 2001 From: Christoph Date: Wed, 9 Sep 2026 15:39:34 +0200 Subject: [PATCH] FIX handling NTP protocol. --- conf/post_decalrations.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/post_decalrations.conf b/conf/post_decalrations.conf index 26d889e..37c473d 100644 --- a/conf/post_decalrations.conf +++ b/conf/post_decalrations.conf @@ -861,11 +861,11 @@ done # --- 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") 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") fi