From 853a68aae4bf8ec02d9c3fa78be084d7ba38d351 Mon Sep 17 00:00:00 2001 From: hagbard Date: Thu, 7 Mar 2019 10:29:28 -0800 Subject: [ntp] T1280 - allow-clients on NTP configuration --- src/conf_mode/ntp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/conf_mode/ntp.py b/src/conf_mode/ntp.py index 37af02014..bdc8e574c 100755 --- a/src/conf_mode/ntp.py +++ b/src/conf_mode/ntp.py @@ -42,7 +42,6 @@ restrict default noquery nopeer notrap nomodify noquery notrust restrict 127.0.0.1 restrict -6 ::1 - # # Configurable section # @@ -51,6 +50,8 @@ restrict -6 ::1 {% for s in servers -%} # Server configuration for: {{ s.name }} server {{ s.name }} iburst {{ s.options | join(" ") }} +# allow server sync +restrict {{ s.name }} nomodify notrap {% endfor -%} {% endif %} -- cgit v1.2.3