X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fraw_socket%2Fdevice.c;h=188cb2ec82a699e7ed3a1e1e51d79218fbee80a3;hp=77e0540d82edcc93eefa0e488abab2b7eb1acaa2;hb=1f00810da336f3b7132df17b7fe4625748ff4b63;hpb=eefa28059ab989c915a7d95fb4ae728abd7ce713 diff --git a/src/raw_socket/device.c b/src/raw_socket/device.c index 77e0540d..188cb2ec 100644 --- a/src/raw_socket/device.c +++ b/src/raw_socket/device.c @@ -1,7 +1,7 @@ /* device.c -- raw socket - Copyright (C) 2002-2003 Ivo Timmermans , - 2002-2003 Guus Sliepen + Copyright (C) 2002-2004 Ivo Timmermans , + 2002-2004 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: device.c,v 1.1.2.8 2003/07/22 20:55:21 guus Exp $ + $Id$ */ #include "config.h" @@ -48,8 +48,8 @@ char *interface; char ifrname[IFNAMSIZ]; char *device_info; -int device_total_in = 0; -int device_total_out = 0; +static int device_total_in = 0; +static int device_total_out = 0; bool setup_device(void) { @@ -122,7 +122,6 @@ bool read_packet(vpn_packet_t *packet) ifdebug(TRAFFIC) logger(LOG_DEBUG, _("Read packet of %d bytes from %s"), packet->len, device_info); - } return true; }