From: Pavel Pisa Date: Tue, 3 Sep 2013 12:35:08 +0000 (+0200) Subject: Static fallback has to be filled Use when rtems_bsdnet_do_dhcp_failsafe is used. X-Git-Url: http://rtime.felk.cvut.cz/gitweb/rtems-devel.git/commitdiff_plain/2a873917e3ad102df1c1b48da5727a11004d726a?ds=sidebyside Static fallback has to be filled Use when rtems_bsdnet_do_dhcp_failsafe is used. Signed-off-by: Pavel Pisa --- diff --git a/rtems-omk-template/appnet/networkconfig.h b/rtems-omk-template/appnet/networkconfig.h index 9af99b0..e5158eb 100644 --- a/rtems-omk-template/appnet/networkconfig.h +++ b/rtems-omk-template/appnet/networkconfig.h @@ -11,8 +11,8 @@ static struct rtems_bsdnet_ifconfig netdriver_config = { .name = RTEMS_BSP_NETWORK_DRIVER_NAME, .attach = RTEMS_BSP_NETWORK_DRIVER_ATTACH, .next = NULL, - .ip_address = NULL, - .ip_netmask = NULL, + .ip_address = "192.168.3.66", + .ip_netmask = "255.255.255.0", .hardware_address = ethernet_address, .ignore_broadcast = 0, .mtu = 0, @@ -34,7 +34,7 @@ struct rtems_bsdnet_config rtems_bsdnet_config = { .mbuf_cluster_bytecount = 256 * 1024, /* 128 kbytes */ .hostname = NULL, .domainname = NULL, - .gateway = NULL, + .gateway = "192.168.3.1", .log_host = NULL, .name_server = { "NULL" }, .ntp_server = { "NULL" },