1
0
Fork 0

main: change IP address to 192.168.1.51/24

This commit is contained in:
Astro 2019-11-13 16:02:56 +01:00
parent caa69fda2e
commit b76dc4037d
1 changed files with 1 additions and 1 deletions

View File

@ -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[..]);