Adding Tomato ifdef for netfilter chain to check
To allow for "drop-in" upgrades of Miniupnp within Tomato firmware, submitting this change back upstream.
Original source: b9d9e4b0ed
?at=shibby-arm
This commit is contained in:
parent
04d1e4e3f5
commit
9ac353cb5e
|
@ -56,7 +56,11 @@
|
|||
|
||||
#if defined(USE_NETFILTER)
|
||||
/* Hardcoded for now. Ideally would come from .conf file */
|
||||
char *chains_to_check[] = { "PREROUTING" , 0 };
|
||||
# ifdef TOMATO
|
||||
char *chains_to_check[] = { "WANPREROUTING" , 0 };
|
||||
# else
|
||||
char *chains_to_check[] = { "PREROUTING" , 0 };
|
||||
# endif
|
||||
#endif
|
||||
|
||||
int
|
||||
|
|
Loading…
Reference in New Issue