projects
/
platform
/
upstream
/
openconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1bf801
)
Make Solaris build more user-friendly w.r.t. installing TAP driver.
author
David Woodhouse
<David.Woodhouse@intel.com>
Sat, 8 May 2010 19:14:51 +0000
(20:14 +0100)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Sat, 8 May 2010 19:14:51 +0000
(20:14 +0100)
Tell the user what to do if the TAP driver is missing, and don't rely on them
removing Make.config so that the Makefile goes looking for it again.
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
tun.c
patch
|
blob
|
history
diff --git
a/tun.c
b/tun.c
index
1ff4b24
..
a581327
100644
(file)
--- a/
tun.c
+++ b/
tun.c
@@
-41,6
+41,10
@@
#if defined(__sun__)
#include <stropts.h>
#include <sys/sockio.h>
+#include <net/if_tun.h>
+#ifndef TUNNEWPPA
+#error "Install TAP driver from http://www.whiteboard.ne.jp/~admin2/tuntap/"
+#endif
#endif
#include "openconnect.h"