/*
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>
+ Copyright (C) 2002-2004 Ivo Timmermans <ivo@tinc-vpn.org>,
+ 2002-2004 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
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.3 2003/08/27 13:47:47 guus Exp $
+ $Id$
*/
#include "system.h"
bool setup_device(void)
{
HKEY key, key2;
- int i;
+ int i, err;
char regpath[1024];
char adapterid[1024];