Skip to content

Commit 0cca632

Browse files
committed
Send more nmap probes
1 parent ba21831 commit 0cca632

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snxcore/src/tunnel/ipsec/natt.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ impl NattProber {
5555
if self.send_probe().await.is_err() {
5656
// attempt to unblock port 4500 by sending some magic packets to port 500
5757
self.send_nmap_knock().await?;
58-
self.send_nmap_knock().await?;
5958

6059
for _ in 0..MAX_NATT_PROBES {
60+
self.send_nmap_knock().await?;
6161
if self.send_probe().await.is_ok() {
6262
return Ok(());
6363
}

0 commit comments

Comments
 (0)