diff options
Diffstat (limited to 'openvpn/src/openvpn/tun.c')
| -rw-r--r-- | openvpn/src/openvpn/tun.c | 12 | 
1 files changed, 2 insertions, 10 deletions
| diff --git a/openvpn/src/openvpn/tun.c b/openvpn/src/openvpn/tun.c index a0754427..d7d53a78 100644 --- a/openvpn/src/openvpn/tun.c +++ b/openvpn/src/openvpn/tun.c @@ -74,6 +74,8 @@ static void solaris_error_close (struct tuntap *tt, const struct env_set *es, co  #include <stropts.h>  #endif +static void clear_tuntap (struct tuntap *tuntap); +  bool  is_dev_type (const char *dev, const char *dev_type, const char *match_type)  { @@ -299,16 +301,6 @@ warn_on_use_of_common_subnets (void)  }  /* - * Complain if --dev tap and --ifconfig is used on an OS for which - * we don't have a custom tap ifconfig template below. - */ -static void -no_tap_ifconfig () -{ -  msg (M_FATAL, "Sorry but you cannot use --dev tap and --ifconfig together on this OS because I have not yet been programmed to understand the appropriate ifconfig syntax to use for TAP-style devices on this OS.  Your best alternative is to use an --up script and do the ifconfig command manually."); -} - -/*   * Return a string to be used for options compatibility check   * between peers.   */ | 
