dect
/
asterisk
Archived
13
0
Fork 0

Merged revisions 308150 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r308150 | pabelanger | 2011-02-16 15:21:17 -0500 (Wed, 16 Feb 2011) | 2 lines
  
  Fix FreeBSD builds.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@308157 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
pabelanger 2011-02-16 22:02:41 +00:00
parent ca683dd533
commit eb7432473b
1 changed files with 2 additions and 1 deletions

View File

@ -191,8 +191,9 @@ typedef socklen_t OOSOCKLEN;
int ooSocketCreate (OOSOCKET* psocket)
{
int on;
int keepalive = 1;
#ifdef __linux__
int keepalive = 1, keepcnt = 24, keepidle = 120, keepintvl = 30;
int keepcnt = 24, keepidle = 120, keepintvl = 30;
#endif
struct linger linger;
OOSOCKET sock = socket (AF_INET,