sets NX_MAX_PHYSICAL_INTERFACES to 2 in nx_user
This commit is contained in:
@@ -59,6 +59,8 @@
|
|||||||
#ifndef NX_USER_H
|
#ifndef NX_USER_H
|
||||||
#define 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
|
#if __riscv_xlen == 64
|
||||||
#define NX_CRYPTO_HUGE_NUMBER_BITS 16
|
#define NX_CRYPTO_HUGE_NUMBER_BITS 16
|
||||||
#else
|
#else
|
||||||
@@ -77,9 +79,9 @@
|
|||||||
present to NetX Duo IP layer. Physical interface does not include
|
present to NetX Duo IP layer. Physical interface does not include
|
||||||
loopback interface. By default there is at least one physical interface
|
loopback interface. By default there is at least one physical interface
|
||||||
in the system. */
|
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.
|
/* 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
|
127.0.0.1 loopback interface is enabled by default. Uncomment out the follow code to disable
|
||||||
|
|||||||
Reference in New Issue
Block a user