git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@6420 e7ae566f-a301-0410-adde-c780ea21d3b5
| ... | ... |
@@ -1157,7 +1157,7 @@ open_tun (const char *dev, const char *dev_type, const char *dev_node, bool ipv6 |
| 1157 | 1157 |
* Try making the TX send queue bigger |
| 1158 | 1158 |
*/ |
| 1159 | 1159 |
#if defined(IFF_ONE_QUEUE) && defined(SIOCSIFTXQLEN) |
| 1160 |
- {
|
|
| 1160 |
+ if (tt->options.txqueuelen) {
|
|
| 1161 | 1161 |
struct ifreq netifr; |
| 1162 | 1162 |
int ctl_fd; |
| 1163 | 1163 |
|