From: Giuseppe Lettieri Date: Tue, 1 May 2012 09:58:25 +0000 (+0000) Subject: tap_pl: fixed spurious send X-Git-Tag: sliver-openvswitch-0.1-1~23 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=6915576ffb530f6d09ebc2c67b47ce8066e8d30a;p=sliver-openvswitch.git tap_pl: fixed spurious send --- diff --git a/lib/tunalloc.c b/lib/tunalloc.c index b5e953c43..12c2a70e2 100644 --- 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);