projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6e09c2a
)
With recent kernels the tun device file is located in /dev/net.
author
Guus Sliepen
<guus@tinc-vpn.org>
Fri, 25 May 2001 10:08:11 +0000
(10:08 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Fri, 25 May 2001 10:08:11 +0000
(10:08 +0000)
src/net.c
patch
|
blob
|
history
diff --git
a/src/net.c
b/src/net.c
index
68080fd
..
33416b3
100644
(file)
--- a/
src/net.c
+++ b/
src/net.c
@@
-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: net.c,v 1.35.4.10
6 2001/05/25 08:36
:11 guus Exp $
+ $Id: net.c,v 1.35.4.10
7 2001/05/25 10:08
:11 guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-285,7
+285,7
@@
cp
{
#ifdef HAVE_LINUX
# ifdef HAVE_TUNTAP
{
#ifdef HAVE_LINUX
# ifdef HAVE_TUNTAP
- tapfname = "/dev/
misc/
net/tun";
+ tapfname = "/dev/net/tun";
# else
tapfname = "/dev/tap0";
# endif
# else
tapfname = "/dev/tap0";
# endif
@@
-1151,7
+1151,7
@@
cp
syslog(LOG_NOTICE, _("Trying to re-establish outgoing connection in 5 seconds"));
}
syslog(LOG_NOTICE, _("Trying to re-establish outgoing connection in 5 seconds"));
}
- /*
In
activate */
+ /*
De
activate */
cl->status.active = 0;
cp
cl->status.active = 0;
cp