mirror of
https://github.com/status-im/miniupnp.git
synced 2025-01-12 07:04:28 +00:00
186c504070
because it prevents broadcast messages to be received see 7ec7cec59e88bd5d2b346e704a4b96d03d0df5aa and 6d379d54f5e5d3bb9457d167ee9dbe4a044566ca
29 lines
858 B
C
29 lines
858 B
C
/* $Id: config.h,v 1.6 2012/09/27 15:40:29 nanard Exp $ */
|
|
/* MiniUPnP project
|
|
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
|
|
* (c) 2006-2011 Thomas Bernard
|
|
* This software is subject to the conditions detailed
|
|
* in the LICENCE file provided within the distribution */
|
|
#ifndef CONFIG_H_INCLUDED
|
|
#define CONFIG_H_INCLUDED
|
|
|
|
/* use BSD daemon() ? */
|
|
#define USE_DAEMON
|
|
|
|
/* set the syslog facility to use. See man syslog(3) and syslog.conf(5). */
|
|
#define LOG_MINISSDPD LOG_DAEMON
|
|
|
|
/* enable IPv6 */
|
|
#define ENABLE_IPV6
|
|
|
|
/* Maximum number of network interface we can listen on */
|
|
#define MAX_IF_ADDR 8
|
|
|
|
/* Uncomment the following line in order to make minissdpd
|
|
* listen on 1.2.3.4:1900 instead of *:1900
|
|
* Note : it prevents broadcast packets to be received,
|
|
* at least with linux */
|
|
/*#define SSDP_LISTEN_ON_SPECIFIC_ADDR*/
|
|
|
|
#endif
|