]> tinc-vpn.org Git - tinc/blobdiff - src/mingw/device.c
Don't try to add a non-existing node back to the node_udp_tree.
[tinc] / src / mingw / device.c
index 2d2b9250c77fb771b3bd25a522725055eff99ddf..020632680b565cf338dc1392275001951cd9c872 100644 (file)
 #include "mingw/common.h"
 
 int device_fd = 0;
-HANDLE device_handle = INVALID_HANDLE_VALUE;
+static HANDLE device_handle = INVALID_HANDLE_VALUE;
 char *device = NULL;
 char *iface = NULL;
 char *device_info = NULL;
 
-int device_total_in = 0;
-int device_total_out = 0;
+static int device_total_in = 0;
+static int device_total_out = 0;
 
 extern char *myport;