summaryrefslogtreecommitdiffstats
path: root/src/openvpn/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvpn/init.c')
-rw-r--r--src/openvpn/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvpn/init.c b/src/openvpn/init.c
index 30f5803..bfd6cfa 100644
--- a/src/openvpn/init.c
+++ b/src/openvpn/init.c
@@ -1249,7 +1249,7 @@ do_init_route_ipv6_list (const struct options *options,
{
const char *gw = NULL;
int dev = dev_type_enum (options->dev, options->dev_type);
- int metric = 0;
+ int metric = -1; /* no metric set */
if (dev != DEV_TYPE_TUN )
msg( M_WARN, "IPv6 routes on TAP devices are going to fail on some platforms (need gateway spec)" ); /* TODO-GERT */