commit
						01efbd563b
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -548,6 +548,8 @@ impl SchemeMut for Tcpd {
 | 
				
			||||||
                        let ip = new_handle.create_ip(self.rng.gen(), tcp.to_bytes());
 | 
					                        let ip = new_handle.create_ip(self.rng.gen(), tcp.to_bytes());
 | 
				
			||||||
                        self.tcp_file.write(&ip.to_bytes()).map_err(|err| Error::new(err.raw_os_error().unwrap_or(EIO))).and(Ok(buf.len()))?;
 | 
					                        self.tcp_file.write(&ip.to_bytes()).map_err(|err| Error::new(err.raw_os_error().unwrap_or(EIO))).and(Ok(buf.len()))?;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                        new_handle.seq += 1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                        Handle::Tcp(new_handle)
 | 
					                        Handle::Tcp(new_handle)
 | 
				
			||||||
                    } else {
 | 
					                    } else {
 | 
				
			||||||
                        return Err(Error::new(EINVAL));
 | 
					                        return Err(Error::new(EINVAL));
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue