diff options
| author | aozima <[email protected]> | 2018-05-22 23:29:34 +0800 |
|---|---|---|
| committer | aozima <[email protected]> | 2018-05-25 22:30:13 +0800 |
| commit | 18941a1e692d5a62233abd9785e4fc2b9382ac4c (patch) | |
| tree | 1c9bdeb48c650bc3480c8032c3921156d6a1276d /components/net | |
| parent | 0819abda7a4a9d285822a726702712e9ead727ed (diff) | |
[lwip] update list_if: add BROADCAST.
Diffstat (limited to 'components/net')
| -rw-r--r-- | components/net/lwip-2.0.2/src/netif/ethernetif.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/net/lwip-2.0.2/src/netif/ethernetif.c b/components/net/lwip-2.0.2/src/netif/ethernetif.c index ba23528c58..7fc605407d 100644 --- a/components/net/lwip-2.0.2/src/netif/ethernetif.c +++ b/components/net/lwip-2.0.2/src/netif/ethernetif.c @@ -563,6 +563,7 @@ void list_if(void) if (netif->flags & NETIF_FLAG_LINK_UP) rt_kprintf(" LINK_UP"); else rt_kprintf(" LINK_DOWN"); if (netif->flags & NETIF_FLAG_ETHARP) rt_kprintf(" ETHARP"); + if (netif->flags & NETIF_FLAG_BROADCAST) rt_kprintf(" BROADCAST"); if (netif->flags & NETIF_FLAG_IGMP) rt_kprintf(" IGMP"); rt_kprintf("\n"); rt_kprintf("ip address: %s\n", ipaddr_ntoa(&(netif->ip_addr))); |
