The correct return type for those functions is int,
so adjust return type accordingly for the cases
when DCO is not defined.
Signed-off-by: Lev Stipakov <lev@openvpn.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <
20220817201223.302-1-lstipakov@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24968.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
ASSERT(false);
}
-static inline bool
+static inline int
dco_p2p_add_new_peer(struct context *c)
{
- return true;
+ return 0;
}
static inline int
{
}
-static inline bool
+static inline int
dco_multi_add_new_peer(struct multi_context *m, struct multi_instance *mi)
{
- return true;
+ return 0;
}
static inline void