nothing...
This commit is contained in:
parent
68c6fb2547
commit
01cbeabd51
1 changed files with 6 additions and 6 deletions
|
|
@ -105,9 +105,9 @@ impl<H: PeerConnectionHandler> PeerConnection<H> {
|
||||||
) -> anyhow::Result<()> {
|
) -> anyhow::Result<()> {
|
||||||
use tokio::io::AsyncWriteExt;
|
use tokio::io::AsyncWriteExt;
|
||||||
|
|
||||||
if self.addr.ip().to_string() != "213.189.217.38" {
|
// if self.addr.ip().to_string() != "213.189.217.38" {
|
||||||
bail!("bad ip")
|
// bail!("bad ip")
|
||||||
}
|
// }
|
||||||
|
|
||||||
let rwtimeout = self
|
let rwtimeout = self
|
||||||
.options
|
.options
|
||||||
|
|
@ -153,9 +153,9 @@ impl<H: PeerConnectionHandler> PeerConnection<H> {
|
||||||
&self,
|
&self,
|
||||||
outgoing_chan: tokio::sync::mpsc::UnboundedReceiver<WriterRequest>,
|
outgoing_chan: tokio::sync::mpsc::UnboundedReceiver<WriterRequest>,
|
||||||
) -> anyhow::Result<()> {
|
) -> anyhow::Result<()> {
|
||||||
if self.addr.ip().to_string() != "213.189.217.38" {
|
// if self.addr.ip().to_string() != "213.189.217.38" {
|
||||||
bail!("bad ip")
|
// bail!("bad ip")
|
||||||
}
|
// }
|
||||||
|
|
||||||
use tokio::io::AsyncWriteExt;
|
use tokio::io::AsyncWriteExt;
|
||||||
let rwtimeout = self
|
let rwtimeout = self
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue