From 5f7ff72ea44f3d5b53c8debf947e5c05f4a34aa8 Mon Sep 17 00:00:00 2001 From: hagbard Date: Thu, 7 Mar 2019 11:29:29 -0800 Subject: Revert "[ntp] T1280 - allow-clients on NTP configuration" This reverts commit 853a68aae4bf8ec02d9c3fa78be084d7ba38d351. Need to fix the unit test first --- src/conf_mode/ntp.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/conf_mode') diff --git a/src/conf_mode/ntp.py b/src/conf_mode/ntp.py index bdc8e574c..37af02014 100755 --- a/src/conf_mode/ntp.py +++ b/src/conf_mode/ntp.py @@ -42,6 +42,7 @@ restrict default noquery nopeer notrap nomodify noquery notrust restrict 127.0.0.1 restrict -6 ::1 + # # Configurable section # @@ -50,8 +51,6 @@ 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