From 18941a1e692d5a62233abd9785e4fc2b9382ac4c Mon Sep 17 00:00:00 2001 From: aozima Date: Tue, 22 May 2018 23:29:34 +0800 Subject: [PATCH] [lwip] update list_if: add BROADCAST. --- components/net/lwip-2.0.2/src/netif/ethernetif.c | 1 + 1 file changed, 1 insertion(+) 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 ba23528c5..7fc605407 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)));