summaryrefslogtreecommitdiff
path: root/src/configure
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-05-11 00:24:15 +0000
committerChristian Pointner <equinox@anytun.org>2008-05-11 00:24:15 +0000
commit6c7ccd96ee77a2a374c6a6ccc9805412198b27f7 (patch)
tree5b19c1113dbf8cdffe9dbc6f9f07f19fb6abf238 /src/configure
parentadaptions for openbsd 4.3 (diff)
added device for bsd
tested under openbsd but should work on freebsd and netbsd as well TODO: do_ifconfig
Diffstat (limited to 'src/configure')
-rwxr-xr-xsrc/configure6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/configure b/src/configure
index 9f6ff4b..054069e 100755
--- a/src/configure
+++ b/src/configure
@@ -12,6 +12,12 @@ case $TARGET in
ln -sf linux/tunDevice.cpp
ln -sf linux/tunDevice.h
;;
+ bsd)
+ rm -rf tunDevice.cpp
+ rm -rf tunDevice.h
+ ln -sf bsd/tunDevice.cpp
+ ln -sf bsd/tunDevice.h
+ ;;
ovpn)
rm -rf tunDevice.cpp
rm -rf tunDevice.cpp