* new tuntap interface. Interface name can be acquired via TUNGETIFF ioctl.
*/
+#include <config.h>
#include <sys/un.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#include <unistd.h>
#include <errno.h>
#include <sys/socket.h>
#include <linux/if.h>
}
remotefd = receive_vif_fd(control_fd, if_name);
+
+ close(control_fd);
+
return remotefd;
}