From ba6277dfa0895a169b1e66e969a87b0e764bdcff Mon Sep 17 00:00:00 2001 From: Kyle Mitchell Date: Mon, 6 Feb 2023 12:07:42 -0500 Subject: ntp: T4980: change chrony deny all logic --- data/templates/chrony/chrony.conf.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'data/templates/chrony/chrony.conf.j2') diff --git a/data/templates/chrony/chrony.conf.j2 b/data/templates/chrony/chrony.conf.j2 index b3bfc8c0c..711bbbec7 100644 --- a/data/templates/chrony/chrony.conf.j2 +++ b/data/templates/chrony/chrony.conf.j2 @@ -40,8 +40,9 @@ user {{ user }} {% for address in allow_client.address %} allow {{ address }} {% endfor %} -{% endif %} +{% else %} deny all +{% endif %} {% if listen_address is vyos_defined or interface is vyos_defined %} # NTP should listen on configured addresses only -- cgit v1.2.3