mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-26 16:12:55 +00:00
struct netif->hostname can be a const pointer
This commit is contained in:
parent
3312983b27
commit
91b6d45178
@ -254,7 +254,7 @@ struct netif {
|
|||||||
#endif /* LWIP_IPV6_DHCP6 */
|
#endif /* LWIP_IPV6_DHCP6 */
|
||||||
#if LWIP_NETIF_HOSTNAME
|
#if LWIP_NETIF_HOSTNAME
|
||||||
/* the hostname for this netif, NULL is a valid value */
|
/* the hostname for this netif, NULL is a valid value */
|
||||||
char* hostname;
|
const char* hostname;
|
||||||
#endif /* LWIP_NETIF_HOSTNAME */
|
#endif /* LWIP_NETIF_HOSTNAME */
|
||||||
#if LWIP_CHECKSUM_CTRL_PER_NETIF
|
#if LWIP_CHECKSUM_CTRL_PER_NETIF
|
||||||
u16_t chksum_flags;
|
u16_t chksum_flags;
|
||||||
|
Loading…
Reference in New Issue
Block a user