forked from M-Labs/zynq-rs
main: change IP address to 192.168.1.51/24
This commit is contained in:
parent
caa69fda2e
commit
b76dc4037d
@ -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[..]);
|
||||
|
Loading…
Reference in New Issue
Block a user