From: Sapan Bhatia Date: Thu, 29 Oct 2009 01:05:11 +0000 (+0000) Subject: Thought I had fixed this bug. X-Git-Tag: vsys-scripts-0.95-11~3 X-Git-Url: http://git.onelab.eu/?p=vsys-scripts.git;a=commitdiff_plain;h=89b25eb4e3bb60dde1c2db7ec3ab9ab503caf221 Thought I had fixed this bug. --- diff --git a/fd_tuntap.c b/fd_tuntap.c index b7f5158..bf72a81 100644 --- a/fd_tuntap.c +++ b/fd_tuntap.c @@ -45,7 +45,7 @@ int send_vif_fd(int sock_fd, int vif_fd, char *vif_name) 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);