From: "flichtenheld (Code Review)" Date: Mon, 31 Jul 2023 09:29:57 +0000 In-Reply-To: References: Reply-To: frank@...2641..., arne-openvpn@...1227..., selva.nair@...277..., openvpn-devel@lists.sourceforge.net, lstipakov@...277..., a@...2181... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="NNX8Cf7Sx6c="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[release/2.6]: Set WINS servers via interactice service List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: stipa Cc: plaisthos , selvanair , openvpn-devel --NNX8Cf7Sx6c= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: cron2, ordex, plaisthos, selvanair, s= tipa. flichtenheld has posted comments on this change. ( http://gerrit.openvpn.ne= t/c/openvpn/+/321?usp=3Demail ) Change subject: Set WINS servers via interactice service ...................................................................... Patch Set 1: (4 comments) File src/openvpnserv/interactive.c: http://gerrit.openvpn.net/c/openvpn/+/321/comment/e7e6ec3b_6554de56 : PS1, Line 1089: * @param action "delete" or "add" This says "add" but the rest of the function seems to use "set". But also s= ee below for "add" vs "set". http://gerrit.openvpn.net/c/openvpn/+/321/comment/9fdd7e73_de5a661e : PS1, Line 1094: * if action =3D "set" then "static" is added before $addr Why are you using "set" here? The documentation (https://learn.microsoft.co= m/en-us/previous-versions/windows/it-pro/windows-server-2008-r2-and-2008/cc= 731521(v=3Dws.10)#set-winsserver) seems to suggest that that can only set o= ne WINS server ("If the interface is already statically configured, the sta= tic parameter replaces the existing WINS server address list with the one s= pecified in the set winsserver command.") Shouldn't you use "add" instead? http://gerrit.openvpn.net/c/openvpn/+/321/comment/a93a828d_867cc63f : PS1, Line 1406: if (addr_len > 0 || msg->header.type =3D=3D msg_del_win= s_cfg) Is there ever a case where this would be false? http://gerrit.openvpn.net/c/openvpn/+/321/comment/f983786a_f046e4f1 : PS1, Line 1436: if (msg->addr_len > 0) Nitpick: Should be addr_len, not msg->addr_len -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/321?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: release/2.6 Gerrit-Change-Id: I47c22dcb728011dcedaae47cd03a57219e9c7607 Gerrit-Change-Number: 321 Gerrit-PatchSet: 1 Gerrit-Owner: stipa Gerrit-Reviewer: cron2 Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: ordex Gerrit-Reviewer: plaisthos Gerrit-Reviewer: selvanair Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: cron2 Gerrit-Attention: ordex Gerrit-Attention: selvanair Gerrit-Attention: stipa Gerrit-Comment-Date: Mon, 31 Jul 2023 09:29:57 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment --NNX8Cf7Sx6c= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: cron2, ordex, plaisthos, selvanai= r, stipa.

View C= hange

4 comments:

To view, visit change 321. To unsubscrib= e, or for help writing mail filters, visit settings.

Gerrit-Project: openvpn
Gerrit-Branch: release/2.6
Gerrit-Change-Id: I47c22dcb728011dcedaae47cd03= a57219e9c7607
Gerrit-Change-Number: 321
Gerrit-PatchSet: 1
Gerrit-Owner: stipa <lstipakov@...277...>= ;
Gerrit-Reviewer: cron2
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-Reviewer: ordex <a@...2181...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-Reviewer: selvanair <selva.nair@...1665...= 77...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: cron2
Gerrit-Attention: ordex <a@...2181...> <= /div>
Gerrit-Attention: selvanair <selva.nair@...493...= 277...>
Gerrit-Attention: stipa <lstipakov@...1663...= .>
Gerrit-Comment-Date: Mon, 31 Jul 2023 09:29:57= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
--NNX8Cf7Sx6c=--