From 89b25eb4e3bb60dde1c2db7ec3ab9ab503caf221 Mon Sep 17 00:00:00 2001 From: Sapan Bhatia Date: Thu, 29 Oct 2009 01:05:11 +0000 Subject: [PATCH] Thought I had fixed this bug. --- fd_tuntap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.43.0