From patchwork Mon Jul 4 23:18:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Quartulli X-Patchwork-Id: 2574 Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director12.mail.ord1d.rsapps.net ([172.31.255.6]) by backend30.mail.ord1d.rsapps.net with LMTP id yKIQFisCxGJACAAAIUCqbw (envelope-from ) for ; Tue, 05 Jul 2022 05:19:39 -0400 Received: from proxy1.mail.iad3b.rsapps.net ([172.31.255.6]) by director12.mail.ord1d.rsapps.net with LMTP id IL/7FSsCxGIkfwAAIasKDg (envelope-from ) for ; Tue, 05 Jul 2022 05:19:39 -0400 Received: from smtp27.gate.iad3b ([172.31.255.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy1.mail.iad3b.rsapps.net with LMTPS id IB+NECsCxGIsWwAALM5PBw (envelope-from ) for ; Tue, 05 Jul 2022 05:19:39 -0400 X-Spam-Threshold: 95 X-Spam-Score: 0 X-Spam-Flag: NO X-Virus-Scanned: OK X-Orig-To: openvpnslackdevel@openvpn.net X-Originating-Ip: [216.105.38.7] Authentication-Results: smtp27.gate.iad3b.rsapps.net; iprev=pass policy.iprev="216.105.38.7"; spf=pass smtp.mailfrom="openvpn-devel-bounces@lists.sourceforge.net" smtp.helo="lists.sourceforge.net"; dkim=fail (signature verification failed) header.d=sourceforge.net; dkim=fail (signature verification failed) header.d=sf.net; dmarc=none (p=nil; dis=none) header.from=unstable.cc X-Suspicious-Flag: YES X-Classification-ID: 97ddad2c-fc43-11ec-b3cc-5254006b1ac1-1-1 Received: from [216.105.38.7] ([216.105.38.7:46564] helo=lists.sourceforge.net) by smtp27.gate.iad3b.rsapps.net (envelope-from ) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id 41/0E-25932-A2204C26; Tue, 05 Jul 2022 05:19:38 -0400 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.94.2) (envelope-from ) id 1o8ehT-0008AH-Gh; Tue, 05 Jul 2022 09:18:30 +0000 Received: from [172.30.20.202] (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.94.2) (envelope-from ) id 1o8ehS-0008AB-RO for openvpn-devel@lists.sourceforge.net; Tue, 05 Jul 2022 09:18:29 +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: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:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZXVzCF8Tz1gMEfG1Xcm19r9GEXkI8VrF3DSVRK4SxAc=; b=UkClbqdAqEqYQvkwyRhQ6fTTBC X4TW6KL1NN3nroPYV9mcaHgVtZtjBXrX7qii95KyEhfv/epLk6+ol5ZmI13HM2OET6ipsgSno7+bg oTmydShJqN95m8bQ0soR8/1rrCBFEuFhZxigbXMM51ph/bPlIV/IwizyHE84XfM1PtCA=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version: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:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=ZXVzCF8Tz1gMEfG1Xcm19r9GEXkI8VrF3DSVRK4SxAc=; b=A 0A7o108EOAqJnplw9csAqsB/+VloJrKyI7QHdh4HUcSyI/h1+LapDjC/wXeRW+7LbPdafpMJxLxKk r8aeE8KBADmn8ZcpGjNnF26kLlTRXxCvSmbRXDNVGgtxKs+zTnbI3lT+MSESGiWyypG6fy6fdxgo2 ePOQxFhTYknqnKrg=; Received: from s2.neomailbox.net ([5.148.176.60]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.94.2) id 1o8ehM-0001Sn-PE for openvpn-devel@lists.sourceforge.net; Tue, 05 Jul 2022 09:18:29 +0000 From: Antonio Quartulli To: openvpn-devel@lists.sourceforge.net Date: Tue, 5 Jul 2022 11:18:42 +0200 Message-Id: <20220705091842.24053-1-a@unstable.cc> MIME-Version: 1.0 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: Some auto correction must have sneaked in. Restore proper wording. Signed-off-by: Antonio Quartulli --- src/openvpn/networking.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Content analysis details: (-0.0 points, 6.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1o8ehM-0001Sn-PE Subject: [Openvpn-devel] [PATCH] networking: fix doc for net_iface_new() API 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: , Cc: Antonio Quartulli Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox Some auto correction must have sneaked in. Restore proper wording. Signed-off-by: Antonio Quartulli Acked-by: Heiko Hund --- src/openvpn/networking.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/openvpn/networking.h b/src/openvpn/networking.h index 647718e0..79963756 100644 --- a/src/openvpn/networking.h +++ b/src/openvpn/networking.h @@ -94,7 +94,8 @@ void net_ctx_free(openvpn_net_ctx_t *ctx); * @param iface interface to create * @param type string describing interface type * @param arg extra data required by the specific type - * @return int 0 on success, negative error code on error + * + * @return 0 on success, negative error code on error */ int net_iface_new(openvpn_net_ctx_t *ctx, const openvpn_net_iface_t *iface, const char *type, void *arg);