example_common: fix netif ips may be printed before got ipv4

This commit is contained in:
Chen Yudong
2022-08-31 22:51:03 +08:00
parent 0aef81247c
commit 9c28e3f1cb
3 changed files with 55 additions and 25 deletions

View File

@@ -15,13 +15,6 @@
extern "C" {
#endif
#if CONFIG_EXAMPLE_CONNECT_IPV6
#define NR_OF_IP_ADDRESSES_TO_WAIT_FOR (2)
#else
#define NR_OF_IP_ADDRESSES_TO_WAIT_FOR (1)
#endif
#if CONFIG_EXAMPLE_CONNECT_IPV6
#define MAX_IP6_ADDRS_PER_NETIF (5)