You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
978 B

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /* $Id: config.h,v 1.9 2015/08/06 13:16:58 nanard Exp $ */
  2. /* MiniUPnP project
  3. * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
  4. * (c) 2006-2015 Thomas Bernard
  5. * This software is subject to the conditions detailed
  6. * in the LICENCE file provided within the distribution */
  7. #ifndef CONFIG_H_INCLUDED
  8. #define CONFIG_H_INCLUDED
  9. #define MINISSDPD_VERSION "1.4"
  10. /* use BSD daemon() ? */
  11. #define USE_DAEMON
  12. /* set the syslog facility to use. See man syslog(3) and syslog.conf(5). */
  13. #define LOG_MINISSDPD LOG_DAEMON
  14. /* enable IPv6 */
  15. #define ENABLE_IPV6
  16. /* Maximum number of network interface we can listen on */
  17. #define MAX_IF_ADDR 8
  18. /* The size of unix socket response buffer */
  19. #define RESPONSE_BUFFER_SIZE (1024 * 4)
  20. /* Uncomment the following line in order to make minissdpd
  21. * listen on 1.2.3.4:1900 instead of *:1900
  22. * Note : it prevents broadcast packets to be received,
  23. * at least with linux */
  24. /*#define SSDP_LISTEN_ON_SPECIFIC_ADDR*/
  25. #endif