We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e2d075 commit af39d86Copy full SHA for af39d86
src/iface/interface.rs
@@ -400,6 +400,9 @@ let iface = builder.finalize(&mut device);
400
401
#[cfg(feature = "proto-sixlowpan-fragmentation")]
402
pub fn sixlowpan_fragments_cache_timeout(mut self, timeout: Duration) -> Self {
403
+ if timeout > Duration::from_secs(60) {
404
+ net_debug!("RFC 4944 specifies that the reassembly timeout MUST be set to a maximum of 60 seconds");
405
+ }
406
self.sixlowpan_fragments_cache_timeout = timeout;
407
self
408
}
0 commit comments