From: "d12fk (Code Review)" Date: Mon, 13 Jan 2025 08:46:23 +0000 In-Reply-To: References: Reply-To: heiko@...515..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641..., lstipakov@...277... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="rrUPmaZvQ1o="; charset=UTF-8 Subject: [Openvpn-devel] [L] Change in openvpn[master]: dns: support multiple domains without DHCP List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: stipa , flichtenheld , plaisthos , openvpn-devel --rrUPmaZvQ1o= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, plaisthos, stipa. d12fk has posted comments on this change. ( http://gerrit.openvpn.net/c/ope= nvpn/+/824?usp=3Demail ) Change subject: dns: support multiple domains without DHCP ...................................................................... Patch Set 7: (1 comment) File src/openvpnserv/interactive.c: http://gerrit.openvpn.net/c/openvpn/+/824/comment/a52622c1_17301bfa : PS7, Line 1390: if (strchr(data, '.') !=3D NULL) > I used powershell command to add TLD, not editing registry directly, and = this worked. [=E2=80=A6] An empty list will not be used by the resolver, even if it it contains only= whitespace characters. So checking for strlen doesn't work here. So, the i= dea was to check for a '.' to make sure the list _is_ actually used, so we = add instead of "create". I think this way the detection is sufficiently wor= king. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/824?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Icaffbfa6b2e8efa2bd24a05537cb74b15f4fed96 Gerrit-Change-Number: 824 Gerrit-PatchSet: 7 Gerrit-Owner: d12fk Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-Reviewer: stipa Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Attention: stipa Gerrit-Comment-Date: Mon, 13 Jan 2025 08:46:23 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: d12fk Comment-In-Reply-To: stipa Gerrit-MessageType: comment --rrUPmaZvQ1o= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld, plaisthos, stipa. <= /p>

View C= hange

1 comment:

    <= li style=3D"margin: 0; padding: 0;">

    File src/openvpnserv/interactive.c:<= /p>

    • Patch Set #7, Line = 1390: if (strch= r(data, '.') !=3D NULL)

      I used powershell com= mand to add TLD, not editing registry directly, and this worked. [=E2=80=A6= ]

      change 824. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: openvpn
      Gerrit-Branch: master
      Gerrit-Change-Id: Icaffbfa6b2e8efa2bd24a05537c= b74b15f4fed96
      Gerrit-Change-Number: 824
      Gerrit-PatchSet: 7
      Gerrit-Owner: d12fk <heiko@...515...>
      Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
      Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
      Gerrit-Reviewer: stipa <lstipakov@...277...= >
      Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
      Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
      Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
      Gerrit-Attention: stipa <lstipakov@...1663...= .>
      Gerrit-Comment-Date: Mon, 13 Jan 2025 08:46:23= +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: d12fk <heiko@...515...= >
      Comment-In-Reply-To: stipa <lstipakov@...1664...= 7...>
      Gerrit-MessageType: comment
      --rrUPmaZvQ1o=--