mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
feat: Added option to enable or disable Port mapping in NAPT
This commit is contained in:
@@ -216,6 +216,13 @@ extern "C" {
|
||||
*/
|
||||
#ifdef CONFIG_LWIP_IPV4_NAPT
|
||||
#define IP_NAPT 1
|
||||
|
||||
#ifdef CONFIG_LWIP_IPV4_NAPT_PORTMAP
|
||||
#define IP_NAPT_PORTMAP 1
|
||||
#else
|
||||
#define IP_NAPT_PORTMAP 0
|
||||
#endif
|
||||
|
||||
#else
|
||||
#define IP_NAPT 0
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user