mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 19:44:35 +08:00
apps/nshlib: Remove all references to internal OS interface netdev_foreach(). Logic in ifconfig, ifup, and ifown now use the procfs file system to examine networking status.
This commit is contained in:
@@ -616,6 +616,9 @@
|
||||
#if !defined(CONFIG_FS_PROCFS) || defined(CONFIG_FS_PROCFS_EXCLUDE_NET)
|
||||
# undef CONFIG_NSH_DISABLE_IFCONFIG /* 'ifconfig' depends on network procfs */
|
||||
# define CONFIG_NSH_DISABLE_IFCONFIG 1
|
||||
|
||||
# undef CONFIG_NSH_DISABLE_IFUPDOWN /* 'ifup/down' depend on network procfs */
|
||||
# define CONFIG_NSH_DISABLE_IFUPDOWN 1
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
Reference in New Issue
Block a user