mirror of
https://github.com/status-im/miniupnp.git
synced 2025-02-19 17:34:20 +00:00
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
This commit is contained in:
parent
04d1e4e3f5
commit
9ac353cb5e
@ -56,7 +56,11 @@
|
|||||||
|
|
||||||
#if defined(USE_NETFILTER)
|
#if defined(USE_NETFILTER)
|
||||||
/* Hardcoded for now. Ideally would come from .conf file */
|
/* 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
|
#endif
|
||||||
|
|
||||||
int
|
int
|
||||||
|
Loading…
x
Reference in New Issue
Block a user