summaryrefslogtreecommitdiffstats
path: root/init.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-11-09 09:49:14 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-11-09 09:49:14 +0000
commit004d8b48a8962828b3f63227fdf0667d3c3b18af (patch)
treea8d1cb76e1a39902c47225a436a65f1fef660dfc /init.c
parent112efc71da0bbb86fbbb6eb9479a4322f9ca9809 (diff)
downloadopenvpn-004d8b48a8962828b3f63227fdf0667d3c3b18af.tar.gz
openvpn-004d8b48a8962828b3f63227fdf0667d3c3b18af.tar.xz
openvpn-004d8b48a8962828b3f63227fdf0667d3c3b18af.zip
Fixed issue where OpenVPN does not apply the --txqueuelen option
to persistent interfaces made with --mktun (Roy Marples). git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1447 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'init.c')
-rw-r--r--init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.c b/init.c
index 1712cb2..2eb1896 100644
--- a/init.c
+++ b/init.c
@@ -425,7 +425,8 @@ do_persist_tuntap (const struct options *options)
msg (M_FATAL|M_OPTERR,
"options --mktun or --rmtun should only be used together with --dev");
tuncfg (options->dev, options->dev_type, options->dev_node,
- options->tun_ipv6, options->persist_mode);
+ options->tun_ipv6, options->persist_mode,
+ &options->tuntap_options);
if (options->persist_mode && options->lladdr)
set_lladdr(options->dev, options->lladdr, NULL);
return true;