summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-03-07 11:29:29 -0800
committerhagbard <vyosdev@derith.de>2019-03-07 11:29:29 -0800
commit5f7ff72ea44f3d5b53c8debf947e5c05f4a34aa8 (patch)
tree85d72771158af6f18b5b1dc912c4503bd3db5500 /src
parent02edc9bfc1edfa84d9e949946a6d560cb695467c (diff)
downloadvyos-1x-5f7ff72ea44f3d5b53c8debf947e5c05f4a34aa8.tar.gz
vyos-1x-5f7ff72ea44f3d5b53c8debf947e5c05f4a34aa8.zip
Revert "[ntp] T1280 - allow-clients on NTP configuration"
This reverts commit 853a68aae4bf8ec02d9c3fa78be084d7ba38d351. Need to fix the unit test first
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/ntp.py3
1 files changed, 1 insertions, 2 deletions
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 %}