anchao opened a new pull request #3104:
URL: https://github.com/apache/incubator-nuttx/pull/3104


   
   ## Summary
   
   net/dev: check the available address further
   
   check the available address further to avoid obtain unusable device
   
   Signed-off-by: chao.an <[email protected]>
   
   ## Impact
   
   multiple net device, eg:
   
   ```
   ap> ifconfig
   lo      Link encap:Local Loopback at UP
           inet addr:127.0.0.1 DRaddr:127.0.0.1 Mask:255.0.0.0
   
   wlan0   Link encap:Ethernet HWaddr 8c:de:f9:83:0d:84 at RUNNING
           inet addr:192.168.31.189 DRaddr:192.168.31.1 Mask:255.255.255.0
   
   wlan1   Link encap:Ethernet HWaddr 8c:de:f9:83:0d:85 at DOWN
           inet addr:0.0.0.0 DRaddr:0.0.0.0 Mask:0.0.0.0
   ```
   
   ## Testing
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to