Static fallback has to be filled Use when rtems_bsdnet_do_dhcp_failsafe is used.
authorPavel Pisa <pisa@cmp.felk.cvut.cz>
Tue, 3 Sep 2013 12:35:08 +0000 (14:35 +0200)
committerPavel Pisa <pisa@cmp.felk.cvut.cz>
Tue, 3 Sep 2013 12:35:08 +0000 (14:35 +0200)
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
rtems-omk-template/appnet/networkconfig.h

index 9af99b0..e5158eb 100644 (file)
@@ -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" },