mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
preliminary configuration for networks.
This commit is contained in:
@@ -71,7 +71,14 @@ static struct cfg_st config = {
|
||||
.root_dir = "root/",
|
||||
.cookie_validity = 3600,
|
||||
.db_file = "/tmp/db",
|
||||
.ca = NULL
|
||||
.ca = NULL,
|
||||
.networks_size = 1,
|
||||
.networks = {{
|
||||
.name = "vpns0",
|
||||
.ipv4_netmask = "255.255.255.0",
|
||||
.ipv4 = "192.168.55.1",
|
||||
.ipv4_dns = "192.168.55.1",
|
||||
}}
|
||||
};
|
||||
|
||||
/* Returns 0 on success or negative value on error.
|
||||
|
||||
Reference in New Issue
Block a user