mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 12:12:15 +02:00
add IV_PROTO bit for --dns option
Signed-off-by: Heiko Hund <heiko@openvpn.net>
This commit is contained in:
parent
8c7d6e1751
commit
49a476e904
@ -224,7 +224,8 @@ namespace openvpn {
|
||||
IV_PROTO_DATA_V2=(1<<1),
|
||||
IV_PROTO_REQUEST_PUSH=(1<<2),
|
||||
IV_PROTO_TLS_KEY_EXPORT=(1<<3),
|
||||
IV_PROTO_AUTH_PENDING_KW=(1<<4)
|
||||
IV_PROTO_AUTH_PENDING_KW=(1<<4),
|
||||
IV_PROTO_DNS_OPTION=(1<<6)
|
||||
};
|
||||
static unsigned int opcode_extract(const unsigned int op)
|
||||
{
|
||||
@ -869,7 +870,8 @@ namespace openvpn {
|
||||
|
||||
unsigned int iv_proto = IV_PROTO_DATA_V2
|
||||
| IV_PROTO_REQUEST_PUSH
|
||||
| IV_PROTO_AUTH_PENDING_KW;
|
||||
| IV_PROTO_AUTH_PENDING_KW
|
||||
| IV_PROTO_DNS_OPTION;
|
||||
|
||||
if (SSLLib::SSLAPI::support_key_material_export())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user