diff --git a/arch/sim/src/up_tapdev.c b/arch/sim/src/up_tapdev.c index d0deea6d9b..f2bbcc14a2 100644 --- a/arch/sim/src/up_tapdev.c +++ b/arch/sim/src/up_tapdev.c @@ -72,7 +72,7 @@ extern int uipdriver_setmacaddr(unsigned char *macaddr); #define DEVTAP "/dev/net/tun" -#ifndef CONFIG_EXAMPLE_UIP_DHCPC +#ifndef CONFIG_EXAMPLES_UIP_DHCPC # define UIP_IPADDR0 192 # define UIP_IPADDR1 168 # define UIP_IPADDR2 0 diff --git a/arch/sim/src/up_wpcap.c b/arch/sim/src/up_wpcap.c index 42e8764f80..62f0b6ad03 100644 --- a/arch/sim/src/up_wpcap.c +++ b/arch/sim/src/up_wpcap.c @@ -62,7 +62,7 @@ extern int uipdriver_setmacaddr(unsigned char *macaddr); #define BUF ((struct uip_eth_hdr *)&uip_buf[0]) -#ifndef CONFIG_EXAMPLE_UIP_DHCPC +#ifndef CONFIG_EXAMPLES_UIP_DHCPC # define UIP_IPADDR (10 << 24 | 0 << 16 | 0 << 8 | 1) #else # define UIP_IPADDR (0)