projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
782171f
)
Corrected #ifdefs for tun/tap support.
author
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 15 Oct 2000 20:30:39 +0000
(20:30 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 15 Oct 2000 20:30:39 +0000
(20:30 +0000)
src/net.c
patch
|
blob
|
history
diff --git
a/src/net.c
b/src/net.c
index
fecf7e6
..
c57fc19
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.3
7 2000/10/15 19:53:15 zarq
Exp $
+ $Id: net.c,v 1.35.4.3
8 2000/10/15 20:30:39 guus
Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-37,11
+37,9
@@
#include <syslog.h>
#include <unistd.h>
#include <syslog.h>
#include <unistd.h>
-/* Next two includes are for tun/tap support */
+#ifdef HAVE_TUNTAP
#include <net/if.h>
#include <net/if.h>
-
-#ifdef HAVE_LINUX_IF_TUN_H
-#include <linux/if_tun.h>
+#include LINUX_IF_TUN_H
#endif
#include <utils.h>
#endif
#include <utils.h>