update inside ip

This commit is contained in:
Andy Killorin 2024-12-07 16:39:32 -05:00
parent 617fe896d7
commit c2725ad3db
Signed by: ank
GPG key ID: 23F9463ECB67FE8C

View file

@ -65,7 +65,7 @@ pub async fn send_badge(channel: Receiver<'static,CriticalSectionRawMutex,u64,1>
let mut socket = TcpSocket::new(stack, &mut rx_buffer, &mut tx_buffer);
socket.set_timeout(Some(Duration::from_secs(10)));
info!("attempting conn to inside");
if let Err(e) = socket.connect(IpEndpoint::new(Ipv4Address::new(169, 254, 1, 1).into_address(), 1234)).await {
if let Err(e) = socket.connect(IpEndpoint::new(Ipv4Address::new(192, 168, 0, 10).into_address(), 1234)).await {
warn!("connect error: {:?}", e);
continue;
}