summaryrefslogtreecommitdiff
path: root/apps/examples
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-19 22:32:19 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-19 22:32:19 +0000
commit4faeb216ded5ad12b709988a52e1bdbbe06eafee (patch)
tree07fab6defe3d5b4d913c978259a011b86e9e7851 /apps/examples
parent5d2cb5987bd1487b5aada95997843ad1c1b796b0 (diff)
downloadnuttx-4faeb216ded5ad12b709988a52e1bdbbe06eafee.tar.gz
nuttx-4faeb216ded5ad12b709988a52e1bdbbe06eafee.tar.bz2
nuttx-4faeb216ded5ad12b709988a52e1bdbbe06eafee.zip
Fix some questionable MAC addresses
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4956 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples')
-rw-r--r--apps/examples/dhcpd/target.c8
-rwxr-xr-xapps/examples/ftpd/ftpd_main.c8
-rw-r--r--apps/examples/igmp/igmp.c10
-rw-r--r--apps/examples/nettest/nettest.c8
-rw-r--r--apps/examples/poll/net_listener.c8
-rw-r--r--apps/examples/poll/net_reader.c8
-rw-r--r--apps/examples/sendmail/target.c12
-rw-r--r--apps/examples/telnetd/shell.c8
-rw-r--r--apps/examples/thttpd/main.c8
-rw-r--r--apps/examples/uip/main.c10
-rw-r--r--apps/examples/wget/target.c10
-rw-r--r--apps/examples/wlan/wlan_main.c10
12 files changed, 54 insertions, 54 deletions
diff --git a/apps/examples/dhcpd/target.c b/apps/examples/dhcpd/target.c
index 350bfe15f..d43e86e94 100644
--- a/apps/examples/dhcpd/target.c
+++ b/apps/examples/dhcpd/target.c
@@ -113,10 +113,10 @@ int MAIN_NAME(int argc, char *argv[])
#ifdef CONFIG_EXAMPLE_DHCPD_NOMAC
mac[0] = 0x00;
mac[1] = 0xe0;
- mac[2] = 0xb0;
- mac[3] = 0x0b;
- mac[4] = 0xba;
- mac[5] = 0xbe;
+ mac[2] = 0xde;
+ mac[3] = 0xad;
+ mac[4] = 0xbe;
+ mac[5] = 0xef;
uip_setmacaddr("eth0", mac);
#endif
diff --git a/apps/examples/ftpd/ftpd_main.c b/apps/examples/ftpd/ftpd_main.c
index fbabf64de..6ae0a11e5 100755
--- a/apps/examples/ftpd/ftpd_main.c
+++ b/apps/examples/ftpd/ftpd_main.c
@@ -92,10 +92,10 @@ static void fptd_netinit(void)
#ifdef CONFIG_EXAMPLE_FTPD_NOMAC
mac[0] = 0x00;
mac[1] = 0xe0;
- mac[2] = 0xb0;
- mac[3] = 0x0b;
- mac[4] = 0xba;
- mac[5] = 0xbe;
+ mac[2] = 0xde;
+ mac[3] = 0xad;
+ mac[4] = 0xbe;
+ mac[5] = 0xef;
uip_setmacaddr("eth0", mac);
#endif
diff --git a/apps/examples/igmp/igmp.c b/apps/examples/igmp/igmp.c
index 5b7ff8376..4e3671a69 100644
--- a/apps/examples/igmp/igmp.c
+++ b/apps/examples/igmp/igmp.c
@@ -2,7 +2,7 @@
* examples/igmp/igmp.c
*
* Copyright (C) 2010-2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -95,10 +95,10 @@ int user_start(int argc, char *argv[])
#ifdef CONFIG_EXAMPLE_IGMP_NOMAC
mac[0] = 0x00;
mac[1] = 0xe0;
- mac[2] = 0xb0;
- mac[3] = 0x0b;
- mac[4] = 0xba;
- mac[5] = 0xbe;
+ mac[2] = 0xde;
+ mac[3] = 0xad;
+ mac[4] = 0xbe;
+ mac[5] = 0xef;
uip_setmacaddr("eth0", mac);
#endif
diff --git a/apps/examples/nettest/nettest.c b/apps/examples/nettest/nettest.c
index 34ae48f2e..d6d63eeef 100644
--- a/apps/examples/nettest/nettest.c
+++ b/apps/examples/nettest/nettest.c
@@ -89,10 +89,10 @@ int MAIN_NAME(int argc, char *argv[])
#ifdef CONFIG_EXAMPLE_NETTEST_NOMAC
mac[0] = 0x00;
mac[1] = 0xe0;
- mac[2] = 0xb0;
- mac[3] = 0x0b;
- mac[4] = 0xba;
- mac[5] = 0xbe;
+ mac[2] = 0xde;
+ mac[3] = 0xad;
+ mac[4] = 0xbe;
+ mac[5] = 0xef;
uip_setmacaddr("eth0", mac);
#endif
diff --git a/apps/examples/poll/net_listener.c b/apps/examples/poll/net_listener.c
index 4bde567fb..81ad7cdcc 100644
--- a/apps/examples/poll/net_listener.c
+++ b/apps/examples/poll/net_listener.c
@@ -300,10 +300,10 @@ static void net_configure(void)
#ifdef CONFIG_EXAMPLE_POLL_NOMAC
mac[0] = 0x00;
mac[1] = 0xe0;
- mac[2] = 0xb0;
- mac[3] = 0x0b;
- mac[4] = 0xba;
- mac[5] = 0xbe;
+ mac[2] = 0xde;
+ mac[3] = 0xad;
+ mac[4] = 0xbe;
+ mac[5] = 0xef;
uip_setmacaddr("eth0", mac);
#endif
diff --git a/apps/examples/poll/net_reader.c b/apps/examples/poll/net_reader.c
index ea0accc8d..8a13618c3 100644
--- a/apps/examples/poll/net_reader.c
+++ b/apps/examples/poll/net_reader.c
@@ -93,10 +93,10 @@ static void net_configure(void)
#ifdef CONFIG_EXAMPLE_POLL_NOMAC
mac[0] = 0x00;
mac[1] = 0xe0;
- mac[2] = 0xb0;
- mac[3] = 0x0b;
- mac[4] = 0xba;
- mac[5] = 0xbe;
+ mac[2] = 0xde;
+ mac[3] = 0xad;
+ mac[4] = 0xbe;
+ mac[5] = 0xef;
uip_setmacaddr("eth0", mac);
#endif
diff --git a/apps/examples/sendmail/target.c b/apps/examples/sendmail/target.c
index ab4da14b1..a614c40cb 100644
--- a/apps/examples/sendmail/target.c
+++ b/apps/examples/sendmail/target.c
@@ -1,8 +1,8 @@
/****************************************************************************
* examples/sendmail/target.c
*
- * Copyright (C) 2009. 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -120,10 +120,10 @@ int user_start(int argc, char *argv[])
#ifdef CONFIG_EXAMPLE_SENDMAIL_NOMAC
mac[0] = 0x00;
mac[1] = 0xe0;
- mac[2] = 0xb0;
- mac[3] = 0x0b;
- mac[4] = 0xba;
- mac[5] = 0xbe;
+ mac[2] = 0xde;
+ mac[3] = 0xad;
+ mac[4] = 0xbe;
+ mac[5] = 0xef;
uip_setmacaddr("eth0", mac);
#endif
diff --git a/apps/examples/telnetd/shell.c b/apps/examples/telnetd/shell.c
index 990a00721..01c620e1e 100644
--- a/apps/examples/telnetd/shell.c
+++ b/apps/examples/telnetd/shell.c
@@ -195,10 +195,10 @@ static void shell_netinit(void)
#ifdef CONFIG_EXAMPLE_TELNETD_NOMAC
mac[0] = 0x00;
mac[1] = 0xe0;
- mac[2] = 0xb0;
- mac[3] = 0x0b;
- mac[4] = 0xba;
- mac[5] = 0xbe;
+ mac[2] = 0xde;
+ mac[3] = 0xad;
+ mac[4] = 0xbe;
+ mac[5] = 0xef;
uip_setmacaddr("eth0", mac);
#endif
diff --git a/apps/examples/thttpd/main.c b/apps/examples/thttpd/main.c
index 30c13bb00..ab69c60b2 100644
--- a/apps/examples/thttpd/main.c
+++ b/apps/examples/thttpd/main.c
@@ -196,10 +196,10 @@ int user_start(int argc, char *argv[])
mac[0] = 0x00;
mac[1] = 0xe0;
- mac[2] = 0xb0;
- mac[3] = 0x0b;
- mac[4] = 0xba;
- mac[5] = 0xbe;
+ mac[2] = 0xde;
+ mac[3] = 0xad;
+ mac[4] = 0xbe;
+ mac[5] = 0xef;
uip_setmacaddr(NET_DEVNAME, mac);
#endif
diff --git a/apps/examples/uip/main.c b/apps/examples/uip/main.c
index e4ba6dfdb..8712b9a28 100644
--- a/apps/examples/uip/main.c
+++ b/apps/examples/uip/main.c
@@ -2,7 +2,7 @@
* examples/uip/main.c
*
* Copyright (C) 2007, 2009-2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Based on uIP which also has a BSD style license:
*
@@ -123,10 +123,10 @@ int user_start(int argc, char *argv[])
#ifdef CONFIG_EXAMPLE_UIP_NOMAC
mac[0] = 0x00;
mac[1] = 0xe0;
- mac[2] = 0xb0;
- mac[3] = 0x0b;
- mac[4] = 0xba;
- mac[5] = 0xbe;
+ mac[2] = 0xde;
+ mac[3] = 0xad;
+ mac[4] = 0xbe;
+ mac[5] = 0xef;
uip_setmacaddr("eth0", mac);
#endif
diff --git a/apps/examples/wget/target.c b/apps/examples/wget/target.c
index 542220162..fa30e037b 100644
--- a/apps/examples/wget/target.c
+++ b/apps/examples/wget/target.c
@@ -2,7 +2,7 @@
* examples/wget/target.c
*
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -121,10 +121,10 @@ int user_start(int argc, char *argv[])
#ifdef CONFIG_EXAMPLE_WGET_NOMAC
mac[0] = 0x00;
mac[1] = 0xe0;
- mac[2] = 0xb0;
- mac[3] = 0x0b;
- mac[4] = 0xba;
- mac[5] = 0xbe;
+ mac[2] = 0xde;
+ mac[3] = 0xad;
+ mac[4] = 0xbe;
+ mac[5] = 0xef;
uip_setmacaddr("eth0", mac);
#endif
diff --git a/apps/examples/wlan/wlan_main.c b/apps/examples/wlan/wlan_main.c
index 585878730..d1fb44e94 100644
--- a/apps/examples/wlan/wlan_main.c
+++ b/apps/examples/wlan/wlan_main.c
@@ -2,7 +2,7 @@
* examples/wlan/wlan_main.c
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
- * Authors: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Authors: Gregory Nutt <gnutt@nuttx.org>
* Rafael Noronha <rafael@pdsolucoes.com.br>
*
* Redistribution and use in source and binary forms, with or without
@@ -146,10 +146,10 @@ static inline void wlan_bringup(void)
#ifdef CONFIG_EXAMPLE_WLAN_NOMAC
mac[0] = 0x00;
mac[1] = 0xe0;
- mac[2] = 0xb0;
- mac[3] = 0x0b;
- mac[4] = 0xba;
- mac[5] = 0xbe;
+ mac[2] = 0xde;
+ mac[3] = 0xad;
+ mac[4] = 0xbe;
+ mac[5] = 0xef;
uip_setmacaddr("eth0", mac);
#endif