configuration: update to HITL ips

This commit is contained in:
Robert Jördens 2021-02-01 19:32:20 +01:00
parent 24a4486847
commit 2144af5bcd
1 changed files with 2 additions and 2 deletions

View File

@ -510,11 +510,11 @@ pub fn setup(
let store = unsafe { &mut NET_STORE };
store.ip_addrs[0] = smoltcp::wire::IpCidr::new(
smoltcp::wire::IpAddress::v4(10, 0, 16, 99),
smoltcp::wire::IpAddress::v4(10, 34, 16, 103),
24,
);
let default_v4_gw = Ipv4Address::new(10, 0, 16, 1);
let default_v4_gw = Ipv4Address::new(10, 34, 16, 1);
let mut routes = Routes::new(&mut store.routes_storage[..]);
routes.add_default_ipv4_route(default_v4_gw).unwrap();