mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 20:13:05 +02:00
IPv6Setting : when setting is unrecognized, show it
in error message.
This commit is contained in:
parent
59fbfb6451
commit
49ee97c999
@ -68,7 +68,7 @@ namespace openvpn {
|
||||
else if (str == "default")
|
||||
return IPv6Setting(DEFAULT);
|
||||
else
|
||||
throw Exception("IPv6Setting: unrecognized setting");
|
||||
throw Exception("IPv6Setting: unrecognized setting: '" + str + '\'');
|
||||
}
|
||||
|
||||
bool operator==(const IPv6Setting& other) const
|
||||
|
Loading…
Reference in New Issue
Block a user