summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tun.c b/tun.c
index 7a87256..f6fb505 100644
--- a/tun.c
+++ b/tun.c
@@ -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;