Message ID | 20241224174233.13005-1-gert@greenie.muc.de |
---|---|
State | Accepted |
Headers | show |
Series | [Openvpn-devel,v1] repair DNS address option | expand |
"Obviously correct". Sorry for overlooking this part. Did not actually run a windows binary, but did a mingw test compile. Your patch has been applied to the master branch. commit 82fd89a04f774eeb785ad110dd6923a12345f973 Author: Lev Stipakov Date: Tue Dec 24 18:42:33 2024 +0100 repair DNS address option Signed-off-by: Lev Stipakov <lev@openvpn.net> Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <20241224174233.13005-1-gert@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg30195.html Signed-off-by: Gert Doering <gert@greenie.muc.de> -- kind regards, Gert Doering
diff --git a/src/openvpn/options.c b/src/openvpn/options.c index b2a3a8b..20e8d55 100644 --- a/src/openvpn/options.c +++ b/src/openvpn/options.c @@ -1390,7 +1390,7 @@ overflow = true; continue; } - tt->dns[tt->dns_len++] = server->addr[i].in.a4.s_addr; + tt->dns[tt->dns_len++] = ntohl(server->addr[i].in.a4.s_addr); } else {