--- embedaddon/mpd/src/nat.h 2012/02/21 23:32:47 1.1.1.1 +++ embedaddon/mpd/src/nat.h 2013/07/22 08:44:29 1.1.1.2 @@ -12,7 +12,7 @@ #ifdef NG_NAT_DESC_LENGTH /* max. number of red-port rules */ -#define NM_PORT 16 +#define NM_PORT 32 /* max. number of red-addr rules */ #define NM_ADDR 8 /* max. number of red-proto rules */ @@ -48,6 +48,9 @@ */ extern const struct cmdtab NatSetCmds[]; +#ifdef NG_NAT_DESC_LENGTH + extern const struct cmdtab NatUnSetCmds[]; +#endif extern void NatInit(Bund b); extern int NatStat(Context ctx, int ac, char *av[], void *arg);