diff options
author | hagbard <vyosdev@derith.de> | 2019-03-07 11:29:23 -0800 |
---|---|---|
committer | hagbard <vyosdev@derith.de> | 2019-03-07 11:29:23 -0800 |
commit | 1978264f6f71b5a5e7e75e56da95a8aa059f2f58 (patch) | |
tree | 42d361aec2225530237fbfa91b1cca74409bf8c3 /src/tests | |
parent | 4b2c57f4ba08409b4b6ba459fa8a3d23c5f6990c (diff) | |
download | vyos-1x-1978264f6f71b5a5e7e75e56da95a8aa059f2f58.tar.gz vyos-1x-1978264f6f71b5a5e7e75e56da95a8aa059f2f58.zip |
Revert "[ntp] adding extra option to test"
This reverts commit 4b2c57f4ba08409b4b6ba459fa8a3d23c5f6990c.
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/test_ntp.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tests/test_ntp.py b/src/tests/test_ntp.py index 0b0b67231..c1a7f768d 100644 --- a/src/tests/test_ntp.py +++ b/src/tests/test_ntp.py @@ -210,11 +210,11 @@ class TestNtp(TestCase): # Server configuration for: 1.example.com server 1.example.com iburst noselect preempt prefer - restrict 1.example.com nomodify notrap # Server configuration for: 2.example.com - server 2.example.com iburst - restrict 2.example.com nomodify notrap + server 2.example.com iburst + + # Client configuration for network: 192.0.2.0/24 restrict 192.0.2.1 mask 255.255.255.0 nomodify notrap nopeer @@ -223,6 +223,7 @@ class TestNtp(TestCase): restrict 198.51.100.1 mask 255.255.255.0 nomodify notrap nopeer + # NTP should listen on configured addresses only interface ignore wildcard interface listen 198.51.100.0/24 |