tap_pl: fix typo
authorGiuseppe Lettieri <g.lettieri@iet.unipi.it>
Mon, 7 May 2012 15:21:13 +0000 (17:21 +0200)
committerGiuseppe Lettieri <g.lettieri@iet.unipi.it>
Mon, 7 May 2012 15:21:13 +0000 (17:21 +0200)
planetlab/pltap-ovs/pltap-ovs.c

index 2e9833e..55eb7ea 100644 (file)
@@ -13,7 +13,7 @@
 
 #include "tunalloc.h"
 
-#define OVS_SOCK "/var/tun/pl-ovs.control"
+#define OVS_SOCK "/var/run/pl-ovs.control"
 
 char *appname;
 
@@ -66,7 +66,6 @@ void send_fd(int p, int fd, char* vif_name)
         int accept_fd;
         struct sockaddr_un addr, accept_addr;
         socklen_t addr_len = sizeof(accept_addr);
-        int i;
 
         control_fd = socket(AF_UNIX, SOCK_STREAM, 0);
         if (control_fd == -1 && errno != ENOENT) {