summaryrefslogtreecommitdiff
path: root/include/openvpn-msg.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/openvpn-msg.h')
-rw-r--r--include/openvpn-msg.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/openvpn-msg.h b/include/openvpn-msg.h
index 4c13acf..f7fbdd2 100644
--- a/include/openvpn-msg.h
+++ b/include/openvpn-msg.h
@@ -79,10 +79,9 @@ typedef struct {
message_header_t header;
interface_t iface;
char domains[512];
- struct in_addr primary_ipv4;
- struct in_addr secondary_ipv4;
- struct in_addr6 primary_ipv6;
- struct in_addr6 secondary_ipv6;
+ short family;
+ int addr_len;
+ inet_address_t addr[4]; /* support up to 4 dns addresses */
} dns_cfg_message_t;
typedef struct {