mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 20:13:05 +02:00
In Listen::Item, use C++11 member initialization.
This commit is contained in:
parent
331827fd06
commit
db118c46ff
@ -45,14 +45,12 @@ namespace openvpn {
|
||||
SSLOff,
|
||||
};
|
||||
|
||||
Item() : ssl(SSLUnspecified), n_threads(0) {}
|
||||
|
||||
std::string directive;
|
||||
std::string addr;
|
||||
std::string port;
|
||||
Protocol proto;
|
||||
SSLMode ssl;
|
||||
unsigned int n_threads;
|
||||
SSLMode ssl = SSLUnspecified;
|
||||
unsigned int n_threads = 0;
|
||||
|
||||
std::string to_string() const
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user