Message ID | f00596f42cf6fc3b5103ac7dc089cec0186927ee-HTML@gerrit.openvpn.net |
---|---|
State | Superseded |
Headers | show
Return-Path: <openvpn-devel-bounces@lists.sourceforge.net> Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7000:6a49:b0:5e7:b9eb:58e8 with SMTP id v9csp178594mat; Mon, 27 Jan 2025 17:50:46 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVVukwY3oMdBpquNJqmdxWm63gHFdwNuz66/cLqhyx2v1+SPVfSqNa0XVezS6VMgwbfoddeJNK2scY=@openvpn.net X-Google-Smtp-Source: AGHT+IE8AfiZU1G/6R7VZfm7r2DiComrb5SCAwAdUYYFKwOeooz9FDppYnIANIcsWyP3aL2Kozf9 X-Received: by 2002:a05:6830:698c:b0:71e:15f7:1a3a with SMTP id 46e09a7af769-72648b85150mr957006a34.2.1738029046469; Mon, 27 Jan 2025 17:50:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1738029046; cv=none; d=google.com; s=arc-20240605; b=AG6Yn00fuPSTZN5xSzvZla/4PEhb6qtpe4RfygCbj/pa41vY+KauXPmTvRoOQZK18C QFD8vzEiw1qR/Q2Py/wjiwUndwdAjbTQoBxyPxy0ET4+WFGSmZiR8q0pV49e8Q1Ok6he IOUTHJo0aVP0F0Cfe7MW1etTBxq71sExqj/ljqhKnYP+D5Q3UkCuJafEZTBQYL4Bo8yC eOd1+wetA6DSl8GFt3ILuhThvJ5RY1n5rFDqNFRBtW+yb420jYZrx9CPweVytxOzqea6 52gT3H740wDxyo3QRatRwF64ViE2sLiByoFbET0ntmBRsj4mGqG2Cx8jm/VIe4ZIA/by GZLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=errors-to:cc:reply-to:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:subject:user-agent :mime-version:message-id:references:auto-submitted:to:date:from :dkim-signature:dkim-signature:dkim-signature; bh=hootWkEhqqRao8WHtHuYJxGWEa8cm9iFH9fFvHjeD64=; fh=U7wEyxtwz2o5+UdevFSA47vNeG9knhWH0KV//QhD5a0=; b=k6t++lb2CoQHsC4KEV2uhkHBlH0RLqFv4L4D3RMsrirQBK1+s2S7AfhmIysj0zolRP woNqCFib+VnysoUH2hWikWt6EhpAWAdEfb+1D6br8NpV468eswJxVjbVpV1xhpCHe+bn uhAW1Z1Vav7bNx35uR1B0iRFWlL8KYAGeOxJa3JpYkNU1X/WJUI+6zA/gDvKF3CG8KIX h9u3MmrqndjMFmaBkA6wn78NvFsq8t3HtEaGymKKcAtga+EL59gTxmH1S7nDXKNzmxIl KFlNw0co/cVBOxf8F97TXQliIMXbCYyEFP7tawjoJ0702TSf9XlRbbenPbwb7s0zLpYn i++w==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=lF33kVmX; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=EnsDivRM; dkim=neutral (body hash did not verify) header.i=@openvpn.net header.s=google header.b=OlESJEtD; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=openvpn.net; dara=fail header.i=@openvpn.net Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7]) by mx.google.com with ESMTPS id 46e09a7af769-724ecda476csi7171479a34.47.2025.01.27.17.50.46 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Jan 2025 17:50:46 -0800 (PST) Received-SPF: pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) client-ip=216.105.38.7; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=lF33kVmX; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=EnsDivRM; dkim=neutral (body hash did not verify) header.i=@openvpn.net header.s=google header.b=OlESJEtD; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=openvpn.net; dara=fail header.i=@openvpn.net Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from <openvpn-devel-bounces@lists.sourceforge.net>) id 1tcakT-0004EE-Mz; Tue, 28 Jan 2025 01:50:42 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from <gerrit@openvpn.net>) id 1tcakS-0004E7-Hj for openvpn-devel@lists.sourceforge.net; Tue, 28 Jan 2025 01:50:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:Content-Transfer-Encoding:MIME-Version :Message-ID:Reply-To:References:Subject:List-Unsubscribe:List-Id:Cc:To:Date: From:Sender:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:List-Help: List-Subscribe:List-Post:List-Owner:List-Archive; bh=a7PABgSFOT+2WDmFFENPggmgzfBI3skZpHHaihO84XE=; b=lF33kVmXl26YIiyIAQCTo5KiaY O9+0wA0Bg73RzHz3Hvo+JHqjTABfrwZQuJrzoRDRUOm0cymW/Cr1PklkmzvvmblUiCSbBycnHRld6 rCQr+PffLOv52THL0/au7AadH+nMMpE4Cuu6MQnPiCFWVUhi9VNqAFu/ScJRZfLoD0X8=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:Content-Transfer-Encoding:MIME-Version:Message-ID:Reply-To: References:Subject:List-Unsubscribe:List-Id:Cc:To:Date:From:Sender:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:In-Reply-To:List-Help:List-Subscribe:List-Post: List-Owner:List-Archive; bh=a7PABgSFOT+2WDmFFENPggmgzfBI3skZpHHaihO84XE=; b=E nsDivRMlB0T4cY9m4DGqsrzLnfS6oyL7elyzV8qn5+UiFswBEGlymYTi5wzhpYZhgzIuEEVFXJLR3 bRPFmJzu+ka1D9Yo5bH1kfG6yrfmbKtLHtHoklaftDbeKIshLm2csQWQTrJnTV5a6R9VYwA1w3yZf CLYCzzv+JG8odt8M=; Received: from mail-wm1-f53.google.com ([209.85.128.53]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.95) id 1tcakS-0000Hz-Fi for openvpn-devel@lists.sourceforge.net; Tue, 28 Jan 2025 01:50:41 +0000 Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-436202dd7f6so58668205e9.0 for <openvpn-devel@lists.sourceforge.net>; Mon, 27 Jan 2025 17:50:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=openvpn.net; s=google; t=1738029029; x=1738633829; darn=lists.sourceforge.net; h=user-agent:content-disposition:content-transfer-encoding :mime-version:message-id:reply-to:references:subject :list-unsubscribe:list-id:auto-submitted:cc:to:date:from:from:to:cc :subject:date:message-id:reply-to; bh=a7PABgSFOT+2WDmFFENPggmgzfBI3skZpHHaihO84XE=; b=OlESJEtDQxanCBfR51K+rpvpng2MN56OQQ8QTIgv/urq2HWGOeqLZWKLR0CGb2xpD9 PDHIJqyKZwB9A4NciAEEqbwu+DvP3OWIVjic314j9c09bAc4pkZSUGIurw9EJBi3uAF4 yMCzZOXkcmGf/id4teWMFx/6lzuweTczCYQPo2RHwDSK9bTa1DPWAuBSV2j3LwiHQcsA 8NCpUwo94UgzmiChtPr+zLXzC8/uPpxh/+/t7dNw48SufPk+T+s0P/yrbYP/MRxaZBgm /mIkJgrbhipLgpEJvuRCdBVjG33zS7Klc09fcD4JrxXD3mljZ6LFv5fwa7HPZcgbRm4w A6ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738029029; x=1738633829; h=user-agent:content-disposition:content-transfer-encoding :mime-version:message-id:reply-to:references:subject :list-unsubscribe:list-id:auto-submitted:cc:to:date:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=a7PABgSFOT+2WDmFFENPggmgzfBI3skZpHHaihO84XE=; b=UWz3YyuPk5nhSneTCEY1D1oW5A0wf8hYhVBJAnwtbWpDcktFE2uDo+YS6yDtzuL/LD 8JUU+rpiEnT5MKtn4YQfky+jcwsUgRJYqr0uNdia+QMCbM6TpSptDQxnbr7MCt7VW4Vw wj/J/l4PGbgFRkn+DBU6aJTxanUI+YIpkXq0bHfX51Xk5+0z+DzYR/G9nt8F2bn51yJW yp+EAh+FmmtLUDnESXbE5ubICf/bliJgfyl3pxUg3Nc/O+5ASD9j80WWFtZY0wTld7gB sQA2sHRaP+Ak5TJmHFdJqV3U9VPAnJsOexPouFH/3l7gHh1Otun/uKg+8PfmHoT2RFP8 aiTw== X-Gm-Message-State: AOJu0YyV9plLc03I9j2YGawP56/WEHFaDUUyYPqjwFb/I0EBMZgsxH1j kGl6CiZ9A8XeglXPQd8QeXu85JL28yKGrtOCJjKTNU3zavY3lASRo9c9KcKGtRnYSS5RNtwJNfT 9 X-Gm-Gg: ASbGncsrMz7/vv20DcIVQyfM1xUaE4QaRexTXc28OZ4jQzP2qIgSOaqDJOVOdAt6WaU ccgx30XAATcCEwqtLxT3opxZUH+ZSA0BbV3DgWeyjtwu/Wc8ZbdInXVLeOvKl32urXuTMrLA65t uY3BEY6xvaxKK518C5wwCObSFOHg2WgbUhA4XYBHzpVGmFkUnVt0DSNhjpZFI6XTYVN7YMZjSac yQpLO5aFeM4Vs5ZJpVgyfCMQ7fZtX8auybMGydAF3p/zZ/BTjaVCeogH6BUusvRL+IArwiFhQCq M/qOOHf+XrY+9jxT+2HaqCvao06WP7zHm9VxH3O0SIdHppiVuoD9DX9F7kiF8YKDkKy8AeUq X-Received: by 2002:a05:600c:a07:b0:434:f9c4:a850 with SMTP id 5b1f17b1804b1-438913cb16emr418161455e9.10.1738029028854; Mon, 27 Jan 2025 17:50:28 -0800 (PST) Received: from gerrit.openvpn.in (ec2-18-159-0-78.eu-central-1.compute.amazonaws.com. [18.159.0.78]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd575848sm147077405e9.37.2025.01.27.17.50.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 17:50:28 -0800 (PST) From: "kallisti5 (Code Review)" <gerrit@openvpn.net> X-Google-Original-From: "kallisti5 (Code Review)" <gerrit@gerrit.openvpn.in> X-Gerrit-PatchSet: 1 Date: Tue, 28 Jan 2025 01:50:27 +0000 To: plaisthos <arne-openvpn@rfc2549.org>, flichtenheld <frank@lichtenheld.com> Auto-Submitted: auto-generated X-Gerrit-MessageType: newchange X-Gerrit-Change-Id: I6de60ed5c03ea45e1d7a3f7777bfc8ed5075e84d X-Gerrit-Change-Number: 689 X-Gerrit-Project: openvpn X-Gerrit-ChangeURL: <http://gerrit.openvpn.net/c/openvpn/+/689?usp=email> X-Gerrit-Commit: 4d33a28817c646b349c98cd80252057ad54718cf References: <gerrit.1738029022000.I6de60ed5c03ea45e1d7a3f7777bfc8ed5075e84d@gerrit.openvpn.net> Message-ID: <f00596f42cf6fc3b5103ac7dc089cec0186927ee-HTML@gerrit.openvpn.net> MIME-Version: 1.0 User-Agent: Gerrit/3.8.2 X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "util-spamd-1.v13.lw.sourceforge.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Attention is currently required from: flichtenheld, plaisthos. Hello plaisthos, flichtenheld, I'd like you to do a code review. Please visit Content analysis details: (-0.2 points, 6.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.128.53 listed in bl.score.senderscore.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.128.53 listed in sa-accredit.habeas.com] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.53 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.53 listed in wl.mailspike.net] 0.0 WEIRD_PORT URI: Uses non-standard port number for HTTP 0.0 HTML_MESSAGE BODY: HTML included in message -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 T_KAM_HTML_FONT_INVALID Test for Invalidly Named or Formatted Colors in HTML -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Headers-End: 1tcakS-0000Hz-Fi Subject: [Openvpn-devel] [XS] Change in openvpn[master]: Haiku: Fix short interface path length X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: <openvpn-devel.lists.sourceforge.net> List-Unsubscribe: <https://lists.sourceforge.net/lists/options/openvpn-devel>, <mailto:openvpn-devel-request@lists.sourceforge.net?subject=unsubscribe> List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=openvpn-devel> List-Post: <mailto:openvpn-devel@lists.sourceforge.net> List-Help: <mailto:openvpn-devel-request@lists.sourceforge.net?subject=help> List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/openvpn-devel>, <mailto:openvpn-devel-request@lists.sourceforge.net?subject=subscribe> Reply-To: alex@terarocket.io, arne-openvpn@rfc2549.org, openvpn-devel@lists.sourceforge.net, frank@lichtenheld.com Cc: openvpn-devel <openvpn-devel@lists.sourceforge.net> Content-Type: multipart/mixed; boundary="===============6920158527781215576==" Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox X-GMAIL-THRID: =?utf-8?q?1822455545295229048?= X-GMAIL-MSGID: =?utf-8?q?1822455545295229048?= X-getmail-filter-classifier: gerrit message type newchange |
Series |
[Openvpn-devel,XS] Change in openvpn[master]: Haiku: Fix short interface path length
|
expand
|
diff --git a/src/openvpn/route.h b/src/openvpn/route.h index 421e7d2..69b06b8 100644 --- a/src/openvpn/route.h +++ b/src/openvpn/route.h @@ -155,6 +155,8 @@ /* gateway interface */ #ifdef _WIN32 DWORD adapter_index; /* interface or ~0 if undefined */ +#elif defined(TARGET_HAIKU) + char iface[PATH_MAX]; /* iface names are full /dev path with driver name */ #else char iface[16]; /* interface name (null terminated), may be empty */ #endif @@ -186,8 +188,13 @@ #else /* non linux platform don't have this constant defined */ #ifndef IFNAMSIZ +#if defined(TARGET_HAIKU) +/* iface names are full /dev path with driver name */ +#define IFNAMSIZ PATH_MAX +#else #define IFNAMSIZ 16 #endif +#endif char iface[IFNAMSIZ]; /* interface name (null terminated), may be empty */ #endif