Bump max queries

This commit is contained in:
Ulf Lilleengen 2023-02-10 18:34:21 +01:00
parent 472473d8c1
commit 48dff04d64
Failed to extract signature

View File

@ -48,7 +48,8 @@ use crate::device::DriverAdapter;
const LOCAL_PORT_MIN: u16 = 1025; const LOCAL_PORT_MIN: u16 = 1025;
const LOCAL_PORT_MAX: u16 = 65535; const LOCAL_PORT_MAX: u16 = 65535;
const MAX_QUERIES: usize = 2; #[cfg(feature = "dns")]
const MAX_QUERIES: usize = 4;
pub struct StackResources<const SOCK: usize> { pub struct StackResources<const SOCK: usize> {
sockets: [SocketStorage<'static>; SOCK], sockets: [SocketStorage<'static>; SOCK],