703821da2e2773a85d967f2a17a36088cdd76592
[openwrt/svn-archive/archive.git] / net / miniupnpd / patches / 101-config.h.openwrt.patch
1 Index: miniupnpd-1.1/config.h.openwrt
2 ===================================================================
3 RCS file: /usr/local/cvsroot/miniupnp/miniupnpd/miniupnpd-1.1/config.h.openwrt,v
4 retrieving revision 1.2
5 diff -u -r1.2 miniupnpd-1.1/config.h.openwrt
6 --- miniupnpd-1.1/config.h.openwrt 26 Apr 2007 19:11:09 -0000 1.2
7 +++ miniupnpd-1.1/config.h.openwrt 1 May 2008 22:47:17 -0000
8 @@ -1,18 +1,27 @@
9 /* $Id: miniupnpd-1.1/config.h.openwrt,v 1.2 2007/04/26 19:11:09 nanard Exp $ */
10 /* MiniUPnP Project
11 * http:///miniupnp.free.fr
12 - * (c) 2006 Thomas Bernard
13 + * (c) 2006-2008 Thomas Bernard
14 */
15 #ifndef __CONFIG_H__
16 #define __CONFIG_H__
17
18 #define UPNP_VERSION "20070228"
19 -
20 +#define USE_NETFILTER 1
21 #define OS_NAME "OpenWRT"
22 /* OS/version */
23 -#define OS_VERSION "OpenWRT/WhiteRussian"
24 +#define OS_VERSION "OpenWRT/kamikaze"
25 #define OS_URL "http://openwrt.org/"
26
27 #define LOG_MINIUPNPD LOG_DAEMON
28 +
29 +/* Comment the following line to disable NAT-PMP operations */
30 +#define ENABLE_NATPMP
31 +
32 +/* Comment the following line to use home made daemonize() func instead
33 + * of BSD daemon() */
34 +#define USE_DAEMON
35 +
36 +#define ENABLE_L3F_SERVICE
37
38 #endif