mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-09 16:26:59 +08:00
tests: auto-generate random addresses instead of hard-coding them
The main benefit is that there is less manual work to add a test (discovery of unique random addresses is not necessary), but it also ensures that the tests can run on environments where the previously hard-coded addresses were present. Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
@@ -148,8 +148,7 @@ device = vpns
|
||||
# The default domain to be advertised
|
||||
default-domain = example.com
|
||||
|
||||
ipv4-network = 192.168.1.0
|
||||
ipv4-netmask = 255.255.255.0
|
||||
ipv4-network = @VPNNET@
|
||||
# Use the keyword local to advertise the local P-t-P address as DNS server
|
||||
ipv4-dns = 192.168.1.1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user