sets NX_MAX_PHYSICAL_INTERFACES to 2 in nx_user

This commit is contained in:
2026-02-01 06:52:20 +01:00
parent 59072fb524
commit 18bc691033

View File

@@ -59,6 +59,8 @@
#ifndef NX_USER_H
#define NX_USER_H
/* Define the base exponent of 2 for huge number.
* Only 16 and 32 are supported. */
#if __riscv_xlen == 64
#define NX_CRYPTO_HUGE_NUMBER_BITS 16
#else
@@ -77,9 +79,9 @@
present to NetX Duo IP layer. Physical interface does not include
loopback interface. By default there is at least one physical interface
in the system. */
/*
#define NX_MAX_PHYSICAL_INTERFACES 1
*/
#define NX_MAX_PHYSICAL_INTERFACES 2
/* Defined, this option disables NetX Duo support on the 127.0.0.1 loopback interface.
127.0.0.1 loopback interface is enabled by default. Uncomment out the follow code to disable