From f3831aba18acbbe7f4c414a1fd99e9b6810b57e7 Mon Sep 17 00:00:00 2001 From: Astro Date: Thu, 29 Aug 2019 22:40:14 +0200 Subject: [PATCH] main: change IP address to 192.168.1.26 --- firmware/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/src/main.rs b/firmware/src/main.rs index 3772382..e44a5a3 100644 --- a/firmware/src/main.rs +++ b/firmware/src/main.rs @@ -115,7 +115,7 @@ fn main() -> ! { println!("programmed MAC address is invalid, using default"); hardware_addr = EthernetAddress([0x10, 0xE2, 0xD5, 0x00, 0x03, 0x00]); } - let mut ip_addrs = [IpCidr::new(IpAddress::v4(192, 168, 69, 1), 24)]; + let mut ip_addrs = [IpCidr::new(IpAddress::v4(192, 168, 1, 26), 24)]; println!("MAC {} IP {}", hardware_addr, ip_addrs[0]); let mut neighbor_cache_storage = [None; 8]; let neighbor_cache = NeighborCache::new(&mut neighbor_cache_storage[..]);