summaryrefslogtreecommitdiffstats
path: root/libssh/pcap.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-05-09 00:48:10 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2010-05-09 00:48:10 +0200
commitf31a14b7932ef4cc165ddd8f1f1a5b23eb21beb3 (patch)
tree2b4149ee9bbd8c264e63de9653d026f29d028a61 /libssh/pcap.c
parent7886326aa8a4ac2242c743bfe38f4266b0d24551 (diff)
downloadlibssh-f31a14b7932ef4cc165ddd8f1f1a5b23eb21beb3.tar.gz
libssh-f31a14b7932ef4cc165ddd8f1f1a5b23eb21beb3.tar.xz
libssh-f31a14b7932ef4cc165ddd8f1f1a5b23eb21beb3.zip
ssh_socket support for 2 fd + Proxyhost command
Diffstat (limited to 'libssh/pcap.c')
-rw-r--r--libssh/pcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/pcap.c b/libssh/pcap.c
index 58a71a4f..a36faa6b 100644
--- a/libssh/pcap.c
+++ b/libssh/pcap.c
@@ -247,7 +247,7 @@ static int ssh_pcap_context_connect(ssh_pcap_context ctx){
return SSH_ERROR;
if(session->socket==NULL)
return SSH_ERROR;
- fd=ssh_socket_get_fd(session->socket);
+ fd=ssh_socket_get_fd_in(session->socket);
/* TODO: adapt for windows */
if(fd<0)
return SSH_ERROR;