mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-09 08:16:58 +08:00
Merge branch 'tmp-udp_port' into 'master'
Initialise udp_port using vhost config section Closes #612 See merge request openconnect/ocserv!431
This commit is contained in:
1
NEWS
1
NEWS
@@ -19,6 +19,7 @@
|
||||
- Fixed maximum MTU tracking in server statistics
|
||||
- Fixed 'iroute' option processing to handle multiple routes (#625)
|
||||
- Fixed session accounting for roaming users (#674)
|
||||
- Fixed ignored udp-port in vhost (#612)
|
||||
- occtl: fix invalid JSON output in `occtl -j show iroutes` (#661)
|
||||
- occtl: fix regression with trailing commas in `occtl -j show sessions` (#669)
|
||||
- occtl: fix missing column headers in 'show ip bans' output (#677)
|
||||
|
||||
@@ -1644,6 +1644,9 @@ static void check_cfg(vhost_cfg_st *vhost, vhost_cfg_st *defvhost,
|
||||
}
|
||||
}
|
||||
|
||||
if (vhost->perm_config.udp_port == 0 && defvhost)
|
||||
vhost->perm_config.udp_port = defvhost->perm_config.udp_port;
|
||||
|
||||
if (vhost->perm_config.cert_size == 0 ||
|
||||
vhost->perm_config.key_size == 0) {
|
||||
fprintf(stderr,
|
||||
|
||||
Reference in New Issue
Block a user