Solaris: Add support for wired IEEE 802.1X client

This patch adds support for wired IEEE 802.1X client on the Solaris.

I have tested with these:
OS : OpenSolaris 2009.06
EAP : EAP-MD5
Switch : Cisco Catalyst 2950
This commit is contained in:
Masashi Honma 2010-08-28 11:40:07 +03:00 committed by Jouni Malinen
parent 9ff80a10e8
commit 60da5e0f3f
5 changed files with 46 additions and 4 deletions

View file

@ -135,9 +135,9 @@ static int os_daemon(int nochdir, int noclose)
int os_daemonize(const char *pid_file)
{
#ifdef __uClinux__
#if defined(__uClinux__) || defined(__sun__)
return -1;
#else /* __uClinux__ */
#else /* defined(__uClinux__) || defined(__sun__) */
if (os_daemon(0, 0)) {
perror("daemon");
return -1;
@ -152,7 +152,7 @@ int os_daemonize(const char *pid_file)
}
return -0;
#endif /* __uClinux__ */
#endif /* defined(__uClinux__) || defined(__sun__) */
}