mirror of https://github.com/deavmi/libtun.git
Return tun file descriptor
This commit is contained in:
parent
8fb598c9ad
commit
71630e4af5
|
@ -28,7 +28,7 @@ int createTun(char* interfaceName, short iffFlags)
|
|||
interfaceReqData.ifr_flags = iffFlags;
|
||||
|
||||
|
||||
return 69;
|
||||
return tunFD;
|
||||
}
|
||||
|
||||
int destroyTun(int fd)
|
||||
|
|
Loading…
Reference in New Issue