Update dutch translation and make sure all device drivers are included in
the translation and distribution.
This commit is contained in:
parent
714fb32d03
commit
ae50b0077e
5 changed files with 163 additions and 104 deletions
|
@ -1,9 +1,9 @@
|
|||
## Produce this file with automake to get Makefile.in
|
||||
# $Id: Makefile.am,v 1.4.4.30 2003/07/06 22:11:31 guus Exp $
|
||||
# $Id: Makefile.am,v 1.4.4.31 2003/07/29 11:06:22 guus Exp $
|
||||
|
||||
sbin_PROGRAMS = tincd
|
||||
|
||||
EXTRA_DIST = linux/device.c freebsd/device.c openbsd/device.c solaris/device.c netbsd/device.c darwin/device.c cygwin/device.c
|
||||
EXTRA_DIST = linux/device.c freebsd/device.c openbsd/device.c solaris/device.c netbsd/device.c darwin/device.c cygwin/device.c mingw/device.c raw_socket/device.c
|
||||
|
||||
tincd_SOURCES = conf.c connection.c device.c edge.c event.c graph.c logger.c meta.c net.c net_packet.c net_setup.c \
|
||||
net_socket.c netutl.c node.c process.c protocol.c protocol_auth.c protocol_edge.c protocol_misc.c \
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
device.c -- Interaction with CIPE driver in a Cygwin environment
|
||||
device.c -- Interaction with Windows tap driver in a Cygwin environment
|
||||
Copyright (C) 2002-2003 Ivo Timmermans <ivo@o2w.nl>,
|
||||
2002-2003 Guus Sliepen <guus@sliepen.eu.org>
|
||||
|
||||
|
@ -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.11 2003/07/28 21:54:03 guus Exp $
|
||||
$Id: device.c,v 1.1.2.12 2003/07/29 11:06:23 guus Exp $
|
||||
*/
|
||||
|
||||
#include "system.h"
|
||||
|
@ -156,7 +156,7 @@ bool setup_device(void)
|
|||
handle = CreateFile(tapname, GENERIC_WRITE, FILE_SHARE_READ, 0, OPEN_EXISTING, FILE_ATTRIBUTE_SYSTEM , 0);
|
||||
|
||||
if(handle == INVALID_HANDLE_VALUE) {
|
||||
logger(LOG_ERR, _("Could not open CIPE tap device for writing!"));
|
||||
logger(LOG_ERR, _("Could not open Windows tap device for writing!"));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -192,7 +192,7 @@ bool setup_device(void)
|
|||
handle = CreateFile(tapname, GENERIC_READ, FILE_SHARE_WRITE, 0, OPEN_EXISTING, FILE_ATTRIBUTE_SYSTEM , 0);
|
||||
|
||||
if(handle == INVALID_HANDLE_VALUE) {
|
||||
logger(LOG_ERR, _("Could not open CIPE tap device for reading!"));
|
||||
logger(LOG_ERR, _("Could not open Windows tap device for reading!"));
|
||||
buf[0] = 0;
|
||||
write(sp[1], buf, 1);
|
||||
exit(1);
|
||||
|
@ -215,7 +215,7 @@ bool setup_device(void)
|
|||
|
||||
read(device_fd, &gelukt, 1);
|
||||
if(gelukt != 1) {
|
||||
logger(LOG_DEBUG, "Tap reader failed!");
|
||||
logger(LOG_DEBUG, _("Tap reader failed!"));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -272,7 +272,7 @@ bool write_packet(vpn_packet_t *packet)
|
|||
packet->len, device_info);
|
||||
|
||||
if(!WriteFile (handle, packet->data, packet->len, &lenout, NULL)) {
|
||||
logger(LOG_ERR, "Error while writing to %s %s", device_info, device);
|
||||
logger(LOG_ERR, _("Error while writing to %s %s"), device_info, device);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
device.c -- Interaction with CIPE driver in a MinGW environment
|
||||
device.c -- Interaction with Windows tap driver in a MinGW environment
|
||||
Copyright (C) 2002-2003 Ivo Timmermans <ivo@o2w.nl>,
|
||||
2002-2003 Guus Sliepen <guus@sliepen.eu.org>
|
||||
|
||||
|
@ -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.3 2003/07/28 21:54:03 guus Exp $
|
||||
$Id: device.c,v 1.1.2.4 2003/07/29 11:06:23 guus Exp $
|
||||
*/
|
||||
|
||||
#include "system.h"
|
||||
|
@ -206,7 +206,7 @@ bool write_packet(vpn_packet_t *packet)
|
|||
packet->len, device_info);
|
||||
|
||||
if(!WriteFile(device_fd, packet->data, packet->len, &lenout, NULL)) {
|
||||
logger(LOG_ERR, "Error while writing to %s %s", device_info, device);
|
||||
logger(LOG_ERR, _("Error while writing to %s %s"), device_info, device);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue