git://git.onelab.eu
/
vsys-scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Run with devices lets you isolate a given device in your slice. It is not complete
[vsys-scripts.git]
/
fd_tuntap.c
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);