On Solaris 8 and 10, I have to use a different driver other than the
Universal Tun driver. My driver name is "atun". However, if I change my
driver name to "tun", it works just fine.
Basically, on Solaris, OpenVPN can not take a device type and name if
not "tun", and OpenVPN complains:
Thu Aug 3
The fix is in tun.c
diff openvpn-2.0.7/tun.c openvpn-2.0.7-good-andrew/tun.c
61c61
< return !strcmp (dev_type, match_type);
---
> return !strncmp (dev, dev_type, strlen (dev_type));
68a69
>
1266c1267
< openvpn_snprintf (tt->actual_name, 32, "%s%d", dev_tuntap_type,
ppa);
---
> openvp
I forget to mention the the fix is based on Openvpn-2.0.7.
Andrew
On Fri, 2006-08-04 at 17:49 -0700, Andrew Wenlang Zhu wrote:
> The fix is in tun.c
>
> diff openvpn-2.0.7/tun.c openvpn-2.0.7-good-andrew/tun.c
> 61c61
> < return !strcmp (dev_type, match_type);
> ---
> > return !strncmp