mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
uIP webserver now uses listen/accept
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@386 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+3
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user