mirror of
https://github.com/apache/nuttx.git
synced 2026-08-31 22:23:03 +00:00
Fix IPv4-dependend debug output
This commit is contained in:
parent
09b356c497
commit
987715e8a3
1 changed files with 6 additions and 2 deletions
|
|
@ -2477,8 +2477,12 @@ static int tiva_ifup(struct net_driver_s *dev)
|
|||
ndbg("Bringing up: %d.%d.%d.%d\n",
|
||||
dev->d_ipaddr & 0xff, (dev->d_ipaddr >> 8) & 0xff,
|
||||
(dev->d_ipaddr >> 16) & 0xff, dev->d_ipaddr >> 24);
|
||||
#else
|
||||
ndbg("Bringing the network up\n");
|
||||
#endif
|
||||
#ifdef CONFIG_NET_IPv4
|
||||
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],
|
||||
dev->d_ipv6addr[6], dev->d_ipv6addr[7]);
|
||||
#endif
|
||||
|
||||
/* Configure the Ethernet interface for DMA operation. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue