summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-03-04 15:17:19 -0800
committerhagbard <vyosdev@derith.de>2019-03-04 15:17:19 -0800
commitd06b1f85aee3238dea386ecbfe83e8934f8917ac (patch)
tree1e332e4c708283a6ce5501d805684d60b0f1fb25 /src
parent91338d2fcfc6943d5b5beffd00f559e5fc6e6335 (diff)
downloadvyos-1x-d06b1f85aee3238dea386ecbfe83e8934f8917ac.tar.gz
vyos-1x-d06b1f85aee3238dea386ecbfe83e8934f8917ac.zip
adjusted ntp test to accept the 2 new restrict parameters
Diffstat (limited to 'src')
-rw-r--r--src/tests/test_ntp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_ntp.py b/src/tests/test_ntp.py
index 08e1b665e..c1a7f768d 100644
--- a/src/tests/test_ntp.py
+++ b/src/tests/test_ntp.py
@@ -198,7 +198,7 @@ class TestNtp(TestCase):
#
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
+ restrict default noquery nopeer notrap nomodify noquery notrust
# Local users have unrestricted access, allowing reconfiguration via ntpdc
restrict 127.0.0.1
restrict -6 ::1