diff options
Diffstat (limited to 'src/bsd')
-rw-r--r-- | src/bsd/tun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bsd/tun.c b/src/bsd/tun.c index 6bec02a..b609a3c 100644 --- a/src/bsd/tun.c +++ b/src/bsd/tun.c @@ -105,7 +105,7 @@ int tun_init(tun_device_t* dev, const char* dev_name, const char* dev_type, cons dev->fd_ = open(device_file_tmp, O_RDWR); free(device_file_tmp); if(dev->fd_ >= 0) - break -1; + break; } } else |