diff options
author | James Yonan <james@openvpn.net> | 2010-08-31 21:39:30 +0000 |
---|---|---|
committer | James Yonan <james@openvpn.net> | 2010-08-31 21:39:30 +0000 |
commit | 1d76ecbcd03de5bbf97f9969f15debddd0387b87 (patch) | |
tree | c465f7e15b5926e5d70e1840cc4eb4f74007d83f /tun.c | |
parent | Allow PKCS12 file content to be included inline in configuration file, (diff) | |
download | openvpn-1d76ecbcd03de5bbf97f9969f15debddd0387b87.tar.xz |
Don't configure Linux tun/tap txqueuelen setting if OpenVPN
txqueuelen directive is set to 0.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@6420 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'tun.c')
-rw-r--r-- | tun.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1157,7 +1157,7 @@ open_tun (const char *dev, const char *dev_type, const char *dev_node, bool ipv6 * Try making the TX send queue bigger */ #if defined(IFF_ONE_QUEUE) && defined(SIOCSIFTXQLEN) - { + if (tt->options.txqueuelen) { struct ifreq netifr; int ctl_fd; |