summaryrefslogtreecommitdiff
path: root/apps/examples/udp/target.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/udp/target.c')
-rw-r--r--apps/examples/udp/target.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/examples/udp/target.c b/apps/examples/udp/target.c
index e43ff2a0b..d7b64638d 100644
--- a/apps/examples/udp/target.c
+++ b/apps/examples/udp/target.c
@@ -68,20 +68,20 @@ int udp_main(int argc, char *argv[])
/* Set up our host address */
- addr.s_addr = HTONL(CONFIG_EXAMPLE_UDP_IPADDR);
+ addr.s_addr = HTONL(CONFIG_EXAMPLES_UDP_IPADDR);
uip_sethostaddr("eth0", &addr);
/* Set up the default router address */
- addr.s_addr = HTONL(CONFIG_EXAMPLE_UDP_DRIPADDR);
+ addr.s_addr = HTONL(CONFIG_EXAMPLES_UDP_DRIPADDR);
uip_setdraddr("eth0", &addr);
/* Setup the subnet mask */
- addr.s_addr = HTONL(CONFIG_EXAMPLE_UDP_NETMASK);
+ addr.s_addr = HTONL(CONFIG_EXAMPLES_UDP_NETMASK);
uip_setnetmask("eth0", &addr);
-#ifdef CONFIG_EXAMPLE_UDP_SERVER
+#ifdef CONFIG_EXAMPLES_UDP_SERVER
recv_server();
#else
send_client();