diff options
Diffstat (limited to 'helper.c')
-rw-r--r-- | helper.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -143,6 +143,12 @@ helper_client_server (struct options *o) #if P2MP #if P2MP_SERVER +/* + * Get tun/tap/null device type + */ + const int dev = dev_type_enum (o->dev, o->dev_type); + const int topology = o->topology; + /* * * HELPER DIRECTIVE for IPv6 @@ -220,12 +226,6 @@ helper_client_server (struct options *o) * push "route-gateway 10.8.0.1" */ - /* - * Get tun/tap/null device type - */ - const int dev = dev_type_enum (o->dev, o->dev_type); - const int topology = o->topology; - if (o->server_defined) { int netbits = -2; |