mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-29 19:46:19 +08:00
Added yet another IP-address-modifying define, ip_addr_set_any()
This commit is contained in:
@@ -1442,7 +1442,7 @@ void snmp_insert_iprteidx_tree(u8_t dflt, struct netif *ni)
|
||||
if (dflt != 0)
|
||||
{
|
||||
/* the default route 0.0.0.0 */
|
||||
ip_addr_set(&dst, &ip_addr_any);
|
||||
ip_addr_set_any(&dst);
|
||||
insert = 1;
|
||||
}
|
||||
else
|
||||
@@ -1519,7 +1519,7 @@ void snmp_delete_iprteidx_tree(u8_t dflt, struct netif *ni)
|
||||
if (dflt != 0)
|
||||
{
|
||||
/* the default route 0.0.0.0 */
|
||||
ip_addr_set(&dst, &ip_addr_any);
|
||||
ip_addr_set_any(&dst);
|
||||
del = 1;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user