Message-ID: <01682a4d-b156-4507-e44d-ce87d14d477a@...2181...> Date: Wed, 14 Sep 2022 16:47:31 +0200 MIME-Version: 1.0 Content-Language: en-US References: <20220912091057.752-1-lstipakov@...277...> From: Antonio Quartulli In-Reply-To: Subject: Re: [Openvpn-devel] [PATCH v2] Use DCO on Windows by default List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit To: Lev Stipakov , Frank Lichtenheld Cc: Lev Stipakov , openvpn-devel@lists.sourceforge.net Hi, On 14/09/2022 16:41, Lev Stipakov wrote: > Hi, > >> One general question about the patch: Whenever we have >> defined(TARGET_LINUX) || defined(TARGET_FREEBSD) || defined(_WIN32) >> in the DCO code, couldn't we just remove it completely? >> Since this is bascially "every time" anyway, isn't it? > > Well, almost. There is also Mac and some other platforms which do not have DCO. > but we could still use "ifdef ENABLE_DCO" instead of the OR of those 3, no? Cheers, > We could likely get rid of those defines if we add disable_dco into > platform-specific tuntap_options > structures. Would it be better to have disable_dco member, assuming > platform doesn't support dco? > -- Antonio Quartulli