mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 01:31:55 +00:00
SSH: Commented quirk based on undocumented behavior of LibSSH
This commit is contained in:
parent
f7f70bed8f
commit
cdbe1defa4
@ -1415,6 +1415,10 @@ sk_ssh_connect(sock *s)
|
|||||||
switch (ssh_connect(s->ssh->session))
|
switch (ssh_connect(s->ssh->session))
|
||||||
{
|
{
|
||||||
case SSH_AGAIN:
|
case SSH_AGAIN:
|
||||||
|
/* A quick look into libSSH shows that ssh_get_fd() should return non-(-1)
|
||||||
|
* after SSH_AGAIN is returned by ssh_connect(). This is however nowhere
|
||||||
|
* documented but our code relies on that.
|
||||||
|
*/
|
||||||
return SSH_AGAIN;
|
return SSH_AGAIN;
|
||||||
|
|
||||||
case SSH_OK:
|
case SSH_OK:
|
||||||
|
Loading…
Reference in New Issue
Block a user