msg.msg_flags = 0;
/* Send the interface name as the iov */
- vec.iov_base = &vif_name;
+ vec.iov_base = vif_name;
vec.iov_len = strlen(vif_name)+1;
while ((retval = sendmsg(sock_fd, &msg, 0)) == -1 && errno == EINTR);
/* Send tap_fd to slice */
- //send_vif_fd(control_channel_fd, tap_fd, if_name);
+ send_vif_fd(control_channel_fd, tap_fd, if_name);
return 0;
}