mirror of
https://github.com/apache/nuttx.git
synced 2026-08-31 14:13:04 +00:00
Oops... Conditioned on IPv4 wheren IPv6 was intended
This commit is contained in:
parent
987715e8a3
commit
fa580e17cf
2 changed files with 2 additions and 2 deletions
|
|
@ -2426,7 +2426,7 @@ static int stm32_ifup(struct net_driver_s *dev)
|
|||
dev->d_ipaddr & 0xff, (dev->d_ipaddr >> 8) & 0xff,
|
||||
(dev->d_ipaddr >> 16) & 0xff, dev->d_ipaddr >> 24);
|
||||
#endif
|
||||
#ifdef CONFIG_NET_IPv4
|
||||
#ifdef CONFIG_NET_IPv6
|
||||
ndbg("Bringing up: %04x:%04x:%04x:%04x:%04x:%04x:%04x:%04x\n",
|
||||
dev->d_ipv6addr[0], dev->d_ipv6addr[1], dev->d_ipv6addr[2],
|
||||
dev->d_ipv6addr[3], dev->d_ipv6addr[4], dev->d_ipv6addr[5],
|
||||
|
|
|
|||
|
|
@ -2478,7 +2478,7 @@ static int tiva_ifup(struct net_driver_s *dev)
|
|||
dev->d_ipaddr & 0xff, (dev->d_ipaddr >> 8) & 0xff,
|
||||
(dev->d_ipaddr >> 16) & 0xff, dev->d_ipaddr >> 24);
|
||||
#endif
|
||||
#ifdef CONFIG_NET_IPv4
|
||||
#ifdef CONFIG_NET_IPv6
|
||||
ndbg("Bringing up: %04x:%04x:%04x:%04x:%04x:%04x:%04x:%04x\n",
|
||||
dev->d_ipv6addr[0], dev->d_ipv6addr[1], dev->d_ipv6addr[2],
|
||||
dev->d_ipv6addr[3], dev->d_ipv6addr[4], dev->d_ipv6addr[5],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue