git://git.onelab.eu
/
vsys-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac35673
)
Thought I had fixed this bug.
author
Sapan Bhatia
<sapanb@cs.princeton.edu>
Thu, 29 Oct 2009 01:05:11 +0000
(
01:05
+0000)
committer
Sapan Bhatia
<sapanb@cs.princeton.edu>
Thu, 29 Oct 2009 01:05:11 +0000
(
01:05
+0000)
fd_tuntap.c
patch
|
blob
|
history
diff --git
a/fd_tuntap.c
b/fd_tuntap.c
index
b7f5158
..
bf72a81
100644
(file)
--- 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);