summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_service_ntp.py
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2023-07-06 17:40:37 +0000
committerNicolas Fort <nicolasfort1988@gmail.com>2023-07-25 09:35:52 +0000
commit5f2e9cb81d89a5cfecbac01bec054b3ba4e8dff5 (patch)
tree3c8a963489ad77e35b7c30be55145f0980c0f7ed /smoketest/scripts/cli/test_service_ntp.py
parente8ff7aa564b03c6338b2c053f3c24a08fd2cf323 (diff)
downloadvyos-1x-5f2e9cb81d89a5cfecbac01bec054b3ba4e8dff5.tar.gz
vyos-1x-5f2e9cb81d89a5cfecbac01bec054b3ba4e8dff5.zip
T5154: NTP: allow maximum of one ipv4 and one ipv6 address on parameter <listen-address>. Also allow only one single value <interface>.
Diffstat (limited to 'smoketest/scripts/cli/test_service_ntp.py')
-rwxr-xr-xsmoketest/scripts/cli/test_service_ntp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_service_ntp.py b/smoketest/scripts/cli/test_service_ntp.py
index 046e5eea6..47e012913 100755
--- a/smoketest/scripts/cli/test_service_ntp.py
+++ b/smoketest/scripts/cli/test_service_ntp.py
@@ -108,7 +108,7 @@ class TestSystemNTP(VyOSUnitTestSHIM.TestCase):
self.assertIn(f'bindaddress {listen}', config)
def test_03_ntp_interface(self):
- interfaces = ['eth0', 'eth1']
+ interfaces = ['eth0']
for interface in interfaces:
self.cli_set(base_path + ['interface', interface])