From b76dc4037d50ab812d0aa574b20152b30845d5d4 Mon Sep 17 00:00:00 2001 From: Astro Date: Wed, 13 Nov 2019 16:02:56 +0100 Subject: [PATCH] main: change IP address to 192.168.1.51/24 --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index e2d17d5..8831205 100644 --- a/src/main.rs +++ b/src/main.rs @@ -62,7 +62,7 @@ pub fn main() { let ethernet_addr = EthernetAddress(HWADDR); // IP stack - let local_addr = IpAddress::v4(192, 168, 1, 28); + let local_addr = IpAddress::v4(192, 168, 1, 51); let mut ip_addrs = [IpCidr::new(local_addr, 24)]; let mut neighbor_storage = vec![None; 256]; let neighbor_cache = NeighborCache::new(&mut neighbor_storage[..]);