projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow tinc to work with the latest TAP-Win32 driver.
[tinc]
/
src
/
openbsd
/
device.c
diff --git
a/src/openbsd/device.c
b/src/openbsd/device.c
index
e767030
..
aa0150a
100644
(file)
--- a/
src/openbsd/device.c
+++ b/
src/openbsd/device.c
@@
-1,7
+1,7
@@
/*
device.c -- Interaction with OpenBSD tun device
/*
device.c -- Interaction with OpenBSD tun device
- Copyright (C) 2001-200
3 Ivo Timmermans <ivo@o2w.nl
>,
- 2001-200
3 Guus Sliepen <guus@sliepen.eu
.org>
+ Copyright (C) 2001-200
4 Ivo Timmermans <ivo@tinc-vpn.org
>,
+ 2001-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,10
+17,11
@@
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.17 2003/07/22 20:55:21 guus Exp
$
+ $Id$
*/
#include "system.h"
*/
#include "system.h"
+#include <sys/uio.h>
#include "conf.h"
#include "logger.h"
#include "conf.h"
#include "logger.h"
@@
-106,7
+107,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;
}