Commit Diff


commit - 4caeea22e701e4393a4e77c4f212a3212dbf6e42
commit + 8cb448d7cbde7e137e8191b68e5ea87c7fa504ca
blob - 4b536cba56faa87eed2f66d2db497c048c06d457
blob + 612346230b8afa5a70cfb122e12940dad730d9c6
--- lstun.c
+++ lstun.c
@@ -106,7 +106,8 @@ spawn_ssh(void)
 		    "-NTq", ssh_dest, NULL);
 		err(1, "exec");
 	default:
-		sleep(5); /* XXX: wait for ssh to bind the port... */
+		/* TODO: wait just a bit to let ssh to do its things */
+		sleep(5);
 	}
 }