MiniUPnPd version # fix.
[tomato.git] / release / src / router / miniupnpd / config.h.tomato
blobdc5ccb8037bd36fa8ecea08ac39f353eba289b3c
1 /* MiniUPnP Project
2  * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
3  * (c) 2006-2008 Thomas Bernard
4  * generated by ./genconfig.sh on Thu Nov 27 21:43:05 GMT 2008 */
5 #ifndef __CONFIG_H__
6 #define __CONFIG_H__
8 #define UPNP_VERSION    "20090214"
9 #define USE_NETFILTER 1
10 #define OS_NAME         "Tomato"
11 #define OS_VERSION      "Linux Mips 2.4.20"
12 #define OS_URL          "http://www.polarcloud.com/tomato"
14 /* syslog facility to be used by miniupnpd */
15 #define LOG_MINIUPNPD            LOG_DAEMON
17 /* Uncomment the following line to allow miniupnpd to be
18  * controlled by miniupnpdctl */
19 /*#define USE_MINIUPNPDCTL*/
21 /* Comment the following line to disable NAT-PMP operations */
22 #define ENABLE_NATPMP
24 /* Uncomment the following line to enable generation of
25  * filter rules with pf */
26 /*#define PF_ENABLE_FILTER_RULES*/
28 /* Uncomment the following line to enable caching of results of
29  * the getifstats() function */
30 #define ENABLE_GETIFSTATS_CACHING
31 /* The cache duration is indicated in seconds */
32 #define GETIFSTATS_CACHING_DURATION 2
34 /* Uncomment the following line to enable multiple external ip support */
35 /* note : Thas is EXPERIMENTAL, do not use that unless you know perfectly what you are doing */
36 /*#define MULTIPLE_EXTERNAL_IP*/
38 /* Comment the following line to use home made daemonize() func instead
39  * of BSD daemon() */
40 #define USE_DAEMON
42 /* Uncomment the following line to enable lease file support */
43 /*#define ENABLE_LEASEFILE*/
45 /* Define one or none of the two following macros in order to make some
46  * clients happy. It will change the XML Root Description of the IGD.
47  * Enabling the Layer3Forwarding Service seems to be the more compatible
48  * option. */
49 /*#define HAS_DUMMY_SERVICE*/
50 #define ENABLE_L3F_SERVICE
52 /* Experimental UPnP Events support. */
53 #define ENABLE_EVENTS
55 /* include interface name in pf and ipf rules */
56 /*#define USE_IFNAME_IN_RULES*/
58 #endif