diff options
author | Christian Breunig <christian@breunig.cc> | 2024-05-09 17:12:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-09 17:12:11 +0200 |
commit | 7925402b487b93d1ae8dd4941e0981437f7fb951 (patch) | |
tree | 6671c4c96b55ba56d40c8e44901377022271cdb6 /smoketest/scripts | |
parent | 7d035fe85624623c2eb06bfe23b31e435456b960 (diff) | |
parent | 92b468b9a0d5eee8484601568227f7c56e71b119 (diff) | |
download | vyos-1x-7925402b487b93d1ae8dd4941e0981437f7fb951.tar.gz vyos-1x-7925402b487b93d1ae8dd4941e0981437f7fb951.zip |
Merge pull request #3436 from natali-rs1985/T4393-current
sstp: T4393: Add support to configure host-name (SNI)
Diffstat (limited to 'smoketest/scripts')
-rwxr-xr-x | smoketest/scripts/cli/test_vpn_sstp.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_vpn_sstp.py b/smoketest/scripts/cli/test_vpn_sstp.py index f0695d577..1a3e1df6e 100755 --- a/smoketest/scripts/cli/test_vpn_sstp.py +++ b/smoketest/scripts/cli/test_vpn_sstp.py @@ -75,6 +75,16 @@ class TestVPNSSTPServer(BasicAccelPPPTest.TestCase): config = read_file(self._config_file) self.assertIn(f'port={port}', config) + def test_sstp_host_name(self): + host_name = 'test.vyos.io' + self.set(['host-name', host_name]) + + self.basic_config() + self.cli_commit() + + config = read_file(self._config_file) + self.assertIn(f'host-name={host_name}', config) + if __name__ == '__main__': unittest.main(verbosity=2) |