From: "plaisthos (Code Review)" Date: Tue, 17 Sep 2024 16:48:29 +0000 In-Reply-To: References: Reply-To: arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <57b6a91ca0d4d039be0af01a2ee36e245106fba7-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="y/C7WzSKeek="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: Move to common backend_driver type in struct tuntap List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: flichtenheld , openvpn-devel --y/C7WzSKeek= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld. plaisthos has posted comments on this change. ( http://gerrit.openvpn.net/c= /openvpn/+/738?usp=3Demail ) Change subject: Move to common backend_driver type in struct tuntap ...................................................................... Patch Set 7: (2 comments) File src/openvpn/tun.h: http://gerrit.openvpn.net/c/openvpn/+/738/comment/2be53bb0_c2ced10a : PS5, Line 46: #ifdef WIN32 > Do we really need pre-processor here? Doesn't hurt if the enum contains u= nused values, does it? It is different philosophies. One could argue that you catch a windows only= define used out of windows only code. The other is that too many define/if= defs are worse. File src/openvpn/tun.c: http://gerrit.openvpn.net/c/openvpn/+/738/comment/369450ea_d033a0b6 : PS5, Line 63: #ifdef WIN32 > Again, don't think we really need the #ifdefs here... DO you propose to have them always be defined? -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/738?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: I8c0e9f32b235cb262ca2be6aac8d520e49b30d74 Gerrit-Change-Number: 738 Gerrit-PatchSet: 7 Gerrit-Owner: plaisthos Gerrit-Reviewer: flichtenheld Gerrit-CC: openvpn-devel Gerrit-Attention: flichtenheld Gerrit-Comment-Date: Tue, 17 Sep 2024 16:48:29 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: flichtenheld Gerrit-MessageType: comment --y/C7WzSKeek= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld.

View C= hange

2 comments:

    =
  • File src/openvpn/tun.h:

    • Patch Set #5, Line 46: #ifdef WIN32

      Do we really need pre-processor here? Doesn't hurt if the enum con= tains unused values, does it?

      It is different philosophies. One could argue= that you catch a windows only define used out of windows only code. The ot= her is that too many define/ifdefs are worse.

  • File src/openvpn/tun.c:

    • Patch Set #5, Line 63: #ifdef WIN32

      Aga= in, don't think we really need the #ifdefs here...

      DO you propose to ha= ve them always be defined?

To view, visit change 738. = To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I8c0e9f32b235cb262ca2be6aac8= d520e49b30d74
Gerrit-Change-Number: 738
Gerrit-PatchSet: 7
Gerrit-Owner: plaisthos <arne-openvpn@...1711...= 27...>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-Comment-Date: Tue, 17 Sep 2024 16:48:29= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: flichtenheld <frank@...1186...= .2641...>
Gerrit-MessageType: comment
--y/C7WzSKeek=--