|
From: | Giuseppe Modugno |
Subject: | [lwip-users] Set IP address as none |
Date: | Tue, 13 Mar 2018 16:21:23 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
At first, I thought IPADDR_NONE was the best choice, but I found that dns.c uses IPADDR_ANY to flag a DNS server as invalid.
Moreover, there are ip4_addr_isany() and ip4_addr_set_any() macros, while there aren't ip4_addr_isnone() and ip4_addr_set_none().
[Prev in Thread] | Current Thread | [Next in Thread] |