aboutsummaryrefslogtreecommitdiff
path: root/src/openvpn/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvpn/helper.c')
-rw-r--r--src/openvpn/helper.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/openvpn/helper.c b/src/openvpn/helper.c
index a1d0307..4fbbced 100644
--- a/src/openvpn/helper.c
+++ b/src/openvpn/helper.c
@@ -149,11 +149,9 @@ helper_client_server(struct options *o)
{
struct gc_arena gc = gc_new();
-#if P2MP
-
-/*
- * Get tun/tap/null device type
- */
+ /*
+ * Get tun/tap/null device type
+ */
const int dev = dev_type_enum(o->dev, o->dev_type);
const int topology = o->topology;
@@ -494,8 +492,6 @@ helper_client_server(struct options *o)
o->tls_client = true;
}
-#endif /* P2MP */
-
gc_free(&gc);
}