mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 19:44:35 +08:00
Socket I/F: Cleanup for good CONFIG_NET_PKT build.
This commit is contained in:
@@ -1096,6 +1096,13 @@ int cmd_ifconfig(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if !defined(CONFIG_NET_IPv4) && !defined(CONFIG_NET_IPv6)
|
||||
UNUSED(hostip);
|
||||
UNUSED(mask);
|
||||
UNUSED(gwip);
|
||||
UNUSED(gip);
|
||||
#endif
|
||||
|
||||
return OK;
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user