mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-24 11:33:50 +08:00
netutils/netlib: Fix netlib_nodaddrconv() so that its return type is the same as other address conversion functions. NSH: Correct parsing of ifconfig so that you can specify the HW address without specifying the IP address.
This commit is contained in:
@@ -135,8 +135,8 @@ int netlib_setnodeaddr(FAR const char *ifname,
|
||||
FAR const struct pktradio_addr_s *nodeaddr);
|
||||
int netlib_getnodnodeaddr(FAR const char *ifname,
|
||||
FAR struct pktradio_addr_s *nodeaddr);
|
||||
int netlib_nodeaddrconv(FAR const char *addrstr,
|
||||
FAR struct pktradio_addr_s *nodeaddr);
|
||||
bool netlib_nodeaddrconv(FAR const char *addrstr,
|
||||
FAR struct pktradio_addr_s *nodeaddr);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user