0
0
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:
James Yonan 2016-06-18 16:00:31 -06:00
parent 59fbfb6451
commit 49ee97c999

View File

@ -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