projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use /dev/net/tun as default for tun/tap device under Linux.
[tinc]
/
src
/
linux
/
device.c
diff --git
a/src/linux/device.c
b/src/linux/device.c
index
92b3a3c
..
629b49e
100644
(file)
--- a/
src/linux/device.c
+++ b/
src/linux/device.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: device.c,v 1.1.2.1
2 2002/09/09 22:33:24
guus Exp $
+ $Id: device.c,v 1.1.2.1
3 2002/09/15 22:19:19
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-39,7
+39,7
@@
#else
#include <linux/if_tun.h>
#endif
#else
#include <linux/if_tun.h>
#endif
-#define DEFAULT_DEVICE "/dev/
misc/
net/tun"
+#define DEFAULT_DEVICE "/dev/net/tun"
#else
#define DEFAULT_DEVICE "/dev/tap0"
#endif
#else
#define DEFAULT_DEVICE "/dev/tap0"
#endif