From patchwork Tue Jan 28 12:41:29 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Lichtenheld X-Patchwork-Id: 4092 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7000:6a49:b0:5e7:b9eb:58e8 with SMTP id v9csp401399mat; Tue, 28 Jan 2025 04:41:49 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWfjwyWPNgygyHGZIl+hqs37s2sPtv20SSyX/Mr6PD3T6gNS/dg1BiEenbtN5HwZaSlsdA8uL9XpxQ=@openvpn.net X-Google-Smtp-Source: AGHT+IFcaCTv/S8nOBl0fkS1iZc4JKB5uVd1NpwU7HH1exrq1CFXnlseS4ITSzL6WdtJBFnzwVYh X-Received: by 2002:a05:6808:2e85:b0:3ea:6586:961f with SMTP id 5614622812f47-3f19fbfc721mr31350435b6e.5.1738068109053; Tue, 28 Jan 2025 04:41:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1738068109; cv=none; d=google.com; s=arc-20240605; b=GBXPjEGp63q7Eor01ZyKZPbUyjPcoCG3ySOd38Bi1dJBtMyAcwofZiESP+c2MfWPw/ ZykrPgRXeUe7XcE5asN3MRYSa0ALEgmVd9k883R/vMcvu9sqRPuYQr3GQL8gAF0CBqpy nWboQhrrQiVZGT+Hz0lQmDJoYiaeesTmakVx96zfcz9xJ5MWGU7mehiMdWjBn1Ab6mRE 9OSHgmFu4Li47YHOkvqOYjp1GvmxKnT9cNee3NskSH77QhPHewzgEExrKlo/vkZZ07g7 zDN3vBenV6XmNcJnS82iUNrMYFBhaBdnntCNrzqa65TI/NjbdsF4OnRV+4ywZ4klfC4C pDJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-signature:dkim-signature; bh=uS4ZPb0AyKETe8XDP13yCGFtuTv17sZaYIxtS8q+LuU=; fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=; b=hJRZnwye1Zy0Y1coqGxW+svAps/ESCJiJBWBlMsuhbm+w5OW/Qb+ewlXtiao7cpBmv GyRD0wp7fyKv+yqmWJryFBmXlPsz/wY6o2MnkSyZq+ymDl+IG5UamQoLJJ+Bb3CTE/f+ a/qagT0lMyL/wMTnOjBhirFQfsA0wqQXZtuAlZtw1V0mB91JUoi8Gk9iUUUDy2ZgmbU2 d6ffOewStel9+U7NycTCtQ+Cn60FklkkbVXUz4jGdUfidwfJQN/X4zATiOawUsGq2q6n jwZBABejJv9pIdHQuCfjQc/vnMbgGl4Y1tXz2GBwJ6fXn1OOE8/RHqswNgcEQ4AxSaHx aITg==; 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=Ke3PVT3h; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=FoBden3n; dkim=neutral (body hash did not verify) header.i=@lichtenheld.com header.s=MBO0001 header.b=BeDAy9ze; 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 Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7]) by mx.google.com with ESMTPS id 5614622812f47-3f1f0850cacsi7711319b6e.14.2025.01.28.04.41.48 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Jan 2025 04:41:49 -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=Ke3PVT3h; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=FoBden3n; dkim=neutral (body hash did not verify) header.i=@lichtenheld.com header.s=MBO0001 header.b=BeDAy9ze; 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 Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1tckuT-00054o-8C; Tue, 28 Jan 2025 12:41:41 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1tckuR-00054f-C3 for openvpn-devel@lists.sourceforge.net; Tue, 28 Jan 2025 12:41:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=mCAGmj2ZX/OHqoGbVAVkit4aq1mxfT/kx7iMwcSjbFg=; b=Ke3PVT3htEAjpQEJhuknJSb0pn qhH4pwo0VsgQrO1bpoZj7fi06g8/UAesER/OpF4dYqvh6/Lu3r5tcdDIoy99PjYkj+q+1Ckh1vKSI q2uj2MHJe9pZcmLFB9pTivKE6Zp6G8CBXmVgz96XwRF8iJ73vQF32+8DC1RRg2HsM+Yg=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=mCAGmj2ZX/OHqoGbVAVkit4aq1mxfT/kx7iMwcSjbFg=; b=FoBden3nH+8564ebEQ23KzfDwS +Bu70xHCWK97thyOIkAPkbdJpVMJoupfh6DEZeg5jFhMuFRhZBOKmGTeGf2uiV5agDuoOSz7TGw3Z 1D5+yIPB2W2DL2llGA2vA/kNX8FE5VVQeuccs+xIvb5VbnUh/hVVSAbUa1j16UbKvxaE=; Received: from mout-p-201.mailbox.org ([80.241.56.171]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1tckuQ-00089D-K4 for openvpn-devel@lists.sourceforge.net; Tue, 28 Jan 2025 12:41:39 +0000 Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4Yj4fL2W1bz9t3T; Tue, 28 Jan 2025 13:41:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lichtenheld.com; s=MBO0001; t=1738068090; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mCAGmj2ZX/OHqoGbVAVkit4aq1mxfT/kx7iMwcSjbFg=; b=BeDAy9zek0CBnr2rICN8diQ8/MuN+684SVKwy4xnE5AEroPx1YYPxV7y6XpGUvuf0KjUjS 0bFlm6AstkyzoJv4K9iI4qGllit+NKbS2qNouyQyDsCt9L1eozKbgFAj1EFbJelVVGR40V 5RpaecMIKIMmoIXeZrxx5h3yDIlxTnfSLGaKGmNv5F9n/jas4bQ0xAfkegBabVVK6j545U 2ZS5Nx6jhfFxrZ9VE0BWKpd5qKOBu2lvI+kZGnmdrw56nwCfP+tOiBkTGKGTr7Jzh2jC4D 74wiRq/7HVKDSUQcIE90WwKayxUn8dzuG58p5zddPty0SaAaL2BDLvbmL3go3w== From: Frank Lichtenheld To: openvpn-devel@lists.sourceforge.net Date: Tue, 28 Jan 2025 13:41:29 +0100 Message-Id: <20250128124129.109647-1-frank@lichtenheld.com> In-Reply-To: References: MIME-Version: 1.0 X-Spam-Score: -0.9 (/) X-Spam-Report: Spam detection software, running on the system "util-spamd-2.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: From: Alexander von Gluck Change-Id: Ieca0f8aa07413682d39e73dd3ed21a0038d41f49 Signed-off-by: Alexander von Gluck Acked-by: Frank Lichtenheld --- Content analysis details: (-0.9 points, 6.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [80.241.56.171 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches 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. [80.241.56.171 listed in sa-accredit.habeas.com] 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. [80.241.56.171 listed in bl.score.senderscore.com] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -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.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Headers-End: 1tckuQ-00089D-K4 Subject: [Openvpn-devel] [PATCH v1] Haiku: change del to delete in route command. del is undocumented X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox X-GMAIL-THRID: =?utf-8?q?1822496505453391418?= X-GMAIL-MSGID: =?utf-8?q?1822496505453391418?= From: Alexander von Gluck Change-Id: Ieca0f8aa07413682d39e73dd3ed21a0038d41f49 Signed-off-by: Alexander von Gluck Acked-by: Frank Lichtenheld --- This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master. Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/690 This mail reflects revision 1 of this Change. Signed-off-by line for the author was added as per our policy. Acked-by according to Gerrit (reflected above): Frank Lichtenheld diff --git a/src/openvpn/route.c b/src/openvpn/route.c index d17b285..12d6c07 100644 --- a/src/openvpn/route.c +++ b/src/openvpn/route.c @@ -2359,8 +2359,8 @@ #elif defined(TARGET_HAIKU) - /* ex: route del /dev/net/ipro1000/0 inet 192.168.0.0 gw 192.168.1.1 netmask 255.255.0.0 */ - argv_printf(&argv, "%s del %s inet %s gw %s netmask %s", + /* ex: route delete /dev/net/ipro1000/0 inet 192.168.0.0 gw 192.168.1.1 netmask 255.255.0.0 */ + argv_printf(&argv, "%s delete %s inet %s gw %s netmask %s", ROUTE_PATH, rgi->iface, network, @@ -2551,8 +2551,8 @@ "on connect only and will clean up automatically."); #elif defined(TARGET_HAIKU) - /* ex: route del /dev/net/ipro1000/0 inet6 :: gw beef::cafe prefixlen 64 */ - argv_printf(&argv, "%s del %s inet6 %s gw %s prefixlen %d", + /* ex: route delete /dev/net/ipro1000/0 inet6 :: gw beef::cafe prefixlen 64 */ + argv_printf(&argv, "%s delete %s inet6 %s gw %s prefixlen %d", ROUTE_PATH, r6->iface, network,