~vanvugt/ubuntu/oneiric/mediatomb/fix-770964-784431

« back to all changes in this revision

Viewing changes to tombupnp/upnp/src/ssdp/ssdp_server.c

  • Committer: Bazaar Package Importer
  • Author(s): Andres Mejia
  • Date: 2009-04-22 21:39:19 UTC
  • mto: (4.2.1 sid)
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: james.westby@ubuntu.com-20090422213919-52m015y6gcpv1m1g
Tags: upstream-0.12.0~svn2018
ImportĀ upstreamĀ versionĀ 0.12.0~svn2018

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
29
//
30
30
///////////////////////////////////////////////////////////////////////////
 
31
#ifdef HAVE_CONFIG_H
 
32
    #include "autoconfig.h"
 
33
#endif
 
34
 
31
35
 
32
36
#include "config.h"
33
37
#if EXCLUDE_SSDP == 0
962
966
        return UPNP_E_SOCKET_ERROR;
963
967
    }
964
968
    
965
 
    #ifdef __FreeBSD__
 
969
    #if defined(__FreeBSD__) || defined(__NetBSD__)
966
970
    if( setsockopt( ssdpSock, SOL_SOCKET, SO_REUSEPORT,
967
971
                    ( char * )&onOff, sizeof( onOff ) ) != 0 ) {
968
972