diff options
author | hagbard <vyosdev@derith.de> | 2019-03-08 15:16:16 -0800 |
---|---|---|
committer | hagbard <vyosdev@derith.de> | 2019-03-08 15:16:16 -0800 |
commit | 290cf96209ed2a2a9be9d7fa5da78639cca84f99 (patch) | |
tree | 0c3837a35de02aa80ee9dee97fc622491c0f87b8 /src/conf_mode | |
parent | 0fefe3c3b9250ad2ba841287a94036119728c708 (diff) | |
download | vyos-1x-290cf96209ed2a2a9be9d7fa5da78639cca84f99.tar.gz vyos-1x-290cf96209ed2a2a9be9d7fa5da78639cca84f99.zip |
[ntp] T1280 - reverting added options from that task
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/ntp.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/conf_mode/ntp.py b/src/conf_mode/ntp.py index bdc8e574c..f706d502f 100755 --- a/src/conf_mode/ntp.py +++ b/src/conf_mode/ntp.py @@ -37,7 +37,7 @@ config_tmpl = """ # driftfile /var/lib/ntp/ntp.drift # By default, only allow ntpd to query time sources, ignore any incoming requests -restrict default noquery nopeer notrap nomodify noquery notrust +restrict default noquery nopeer notrap nomodify # Local users have unrestricted access, allowing reconfiguration via ntpdc restrict 127.0.0.1 restrict -6 ::1 @@ -50,9 +50,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 %} |