git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01227b9
)
tap_pl: fixed spurious send
author
Giuseppe Lettieri
<g.lettieri@iet.unipi.it>
Tue, 1 May 2012 09:58:25 +0000
(09:58 +0000)
committer
Giuseppe Lettieri
<g.lettieri@iet.unipi.it>
Tue, 1 May 2012 09:58:25 +0000
(09:58 +0000)
lib/tunalloc.c
patch
|
blob
|
history
diff --git
a/lib/tunalloc.c
b/lib/tunalloc.c
index
b5e953c
..
12c2a70
100644
(file)
--- a/
lib/tunalloc.c
+++ b/
lib/tunalloc.c
@@
-82,11
+82,6
@@
int tun_alloc(int iftype, char *if_name)
return -1;
}
- /* passing type param */
- if (send(control_fd, &iftype, sizeof(iftype), 0) != sizeof(iftype)) {
- return -1;
- }
-
remotefd = receive_vif_fd(control_fd, if_name);
close(control_fd);