We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba21831 commit 0cca632Copy full SHA for 0cca632
snxcore/src/tunnel/ipsec/natt.rs
@@ -55,9 +55,9 @@ impl NattProber {
55
if self.send_probe().await.is_err() {
56
// attempt to unblock port 4500 by sending some magic packets to port 500
57
self.send_nmap_knock().await?;
58
- self.send_nmap_knock().await?;
59
60
for _ in 0..MAX_NATT_PROBES {
+ self.send_nmap_knock().await?;
61
if self.send_probe().await.is_ok() {
62
return Ok(());
63
}
0 commit comments