From befc37ada0b901ad7c315e4089976508396d496b Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 19 Nov 2007 18:17:23 +0000 Subject: uIP webserver now uses listen/accept git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@386 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/examples/uip/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nuttx/examples') diff --git a/nuttx/examples/uip/main.c b/nuttx/examples/uip/main.c index e78634a5a..951cde539 100644 --- a/nuttx/examples/uip/main.c +++ b/nuttx/examples/uip/main.c @@ -119,16 +119,16 @@ int user_start(int argc, char *argv[]) #if !defined(CONFIG_EXAMPLE_UIP_DHCPC) struct in_addr addr; #endif -#if defined(CONFIG_EXAMPLE_UIP_DHCPC) || !defined(CONFIG_ARCH_SIM) +#if defined(CONFIG_EXAMPLE_UIP_DHCPC) || defined(CONFIG_EXAMPLE_UIP_NOMAC) uint8 mac[IFHWADDRLEN]; #endif #if defined(CONFIG_EXAMPLE_UIP_DHCPC) || defined(CONFIG_EXAMPLE_UIP_SMTP) void *handle; #endif -/* Most embedded network interfaces must have a software assigned MAC */ +/* Many embedded network interfaces must have a software assigned MAC */ -#if !defined(CONFIG_ARCH_SIM) +#ifdef CONFIG_EXAMPLE_UIP_NOMAC mac[0] = 0x00; mac[1] = 0xe0; mac[2] = 0xb0; -- cgit v1.2.3