summaryrefslogtreecommitdiff
path: root/source4/libcli/swig/libcli_smb.i
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/swig/libcli_smb.i')
-rw-r--r--source4/libcli/swig/libcli_smb.i3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/libcli/swig/libcli_smb.i b/source4/libcli/swig/libcli_smb.i
index 32e043b2c6..4125bcf5a9 100644
--- a/source4/libcli/swig/libcli_smb.i
+++ b/source4/libcli/swig/libcli_smb.i
@@ -9,8 +9,9 @@
#include "libcli/raw/libcliraw.h"
%}
-struct smbcli_socket *smbcli_sock_connect_byname(const char *host, int port,
+struct smbcli_socket *smbcli_sock_connect_byname(const char *host, const char **ports,
TALLOC_CTX *mem_ctx,
+ struct resolve_context *resolve_ctx,
struct event_context *event_ctx);
void smbcli_sock_dead(struct smbcli_socket *sock);