Navigation


Changeset 779:867156be8353 in freeDiameter for libfdcore/tcp.c


Ignore:
Timestamp:
Jan 27, 2012, 3:41:22 PM (12 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Always use REUSEADDR, not only in DEBUG

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/tcp.c

    r740 r779  
    8181        #endif /* IPV6_V6ONLY */
    8282       
    83 #ifdef DEBUG
    8483        {
    8584                opt = 1;
    8685                CHECK_SYS(  setsockopt(sk, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt))  );
    8786        }
    88 #endif /* DEBUG */
    89        
    9087       
    9188        /* There are also others sockopt that can be set, but nothing useful for us AFAICT */
Note: See TracChangeset for help on using the changeset viewer.