From: Antonio Quartulli
Date: Tue, 5 Jul 2022 09:18:42 +0000 (+0200)
Subject: networking: fix doc for net_iface_new() API
X-Git-Tag: v2.6_beta1~171
X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d5315a5d7400a26f1113bbc44766d49dd0c3688f;p=thirdparty%2Fopenvpn.git
networking: fix doc for net_iface_new() API
Some auto correction must have sneaked in.
Restore proper wording.
Signed-off-by: Antonio Quartulli
Acked-by: Heiko Hund
Message-Id: <20220705091842.24053-1-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24636.html
Signed-off-by: Gert Doering
---
diff --git a/src/openvpn/networking.h b/src/openvpn/networking.h
index 647718e09..799637563 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);