projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
static
[tinc]
/
src
/
raw_socket
/
device.c
diff --git
a/src/raw_socket/device.c
b/src/raw_socket/device.c
index
77e0540
..
188cb2e
100644
(file)
--- a/
src/raw_socket/device.c
+++ b/
src/raw_socket/device.c
@@
-1,7
+1,7
@@
/*
device.c -- raw socket
/*
device.c -- raw socket
- Copyright (C) 2002-200
3 Ivo Timmermans <ivo@o2w.nl
>,
- 2002-200
3 Guus Sliepen <guus@sliepen.eu
.org>
+ Copyright (C) 2002-200
4 Ivo Timmermans <ivo@tinc-vpn.org
>,
+ 2002-200
4 Guus Sliepen <guus@tinc-vpn
.org>
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
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.
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"
*/
#include "config.h"
@@
-48,8
+48,8
@@
char *interface;
char ifrname[IFNAMSIZ];
char *device_info;
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)
{
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);
ifdebug(TRAFFIC) logger(LOG_DEBUG, _("Read packet of %d bytes from %s"), packet->len,
device_info);
- }
return true;
}
return true;
}