mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-24 15:16:02 +00:00
Hardware address bytes made unsigned char instead of char, consistent with other sources.
This commit is contained in:
parent
10bf9ef2ef
commit
8cdeaa5148
|
@ -48,7 +48,7 @@ struct netif {
|
||||||
struct ip_addr ip_addr;
|
struct ip_addr ip_addr;
|
||||||
struct ip_addr netmask; /* netmask in network byte order */
|
struct ip_addr netmask; /* netmask in network byte order */
|
||||||
struct ip_addr gw;
|
struct ip_addr gw;
|
||||||
char hwaddr[6];
|
unsigned char hwaddr[6];
|
||||||
|
|
||||||
/* This function is called by the network device driver
|
/* This function is called by the network device driver
|
||||||
when it wants to pass a packet to the TCP/IP stack. */
|
when it wants to pass a packet to the TCP/IP stack. */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user