mirror of
https://github.com/OpenVPN/openvpn.git
synced 2026-05-28 04:03:29 -04:00
Use correct undo_list when clearing DNS addresses
Reported by: <aarnav@srlabs.de> Change-Id: Iafac2b8f319457de8e36b427f26ebc27c040c6f7 Signed-off-by: Selva Nair <selva.nair@gmail.com> Acked-by: Lev Stipakov <lstipakov@gmail.com> Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1344 Message-Id: <20251103212523.31409-1-gert@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg34171.html Signed-off-by: Gert Doering <gert@greenie.muc.de>
This commit is contained in:
parent
21b943734f
commit
59fed2ad12
1 changed files with 1 additions and 1 deletions
|
|
@ -1797,7 +1797,7 @@ static DWORD
|
|||
HandleDNSConfigMessage(const dns_cfg_message_t *msg, undo_lists_t *lists)
|
||||
{
|
||||
DWORD err = 0;
|
||||
undo_type_t undo_type = (msg->family == AF_INET6) ? undo_dns4 : undo_dns6;
|
||||
undo_type_t undo_type = (msg->family == AF_INET6) ? undo_dns6 : undo_dns4;
|
||||
int addr_len = msg->addr_len;
|
||||
|
||||
/* sanity check */
|
||||
|
|
|
|||
Loading…
Reference in a new issue