From b1472096ba52cb70c78acda9a02913f21ba6a285 Mon Sep 17 00:00:00 2001 From: Astro Date: Mon, 11 Nov 2019 01:04:55 +0100 Subject: [PATCH] main: change IP address to 192.168.1.28/24 --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 1df0a28..64fb87a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -128,7 +128,7 @@ fn main() { let ethernet_addr = EthernetAddress(HWADDR); // IP stack - let local_addr = IpAddress::v4(10, 0, 0, 1); + let local_addr = IpAddress::v4(192, 168, 1, 28); let mut ip_addrs = [IpCidr::new(local_addr, 24)]; let mut neighbor_storage = vec![None; 256]; let neighbor_cache = NeighborCache::new(&mut neighbor_storage[..]);