summaryrefslogtreecommitdiffstats
path: root/source4/libcli
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-26 21:57:29 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-26 21:57:29 +0000
commit3e0501082cc5e5715dd315f890560a5759331df3 (patch)
tree0497a79bdd80f62cff0e746a26e33bc7d451355b /source4/libcli
parent1ca1b85c4c0bcf3315ef82316289fe03ecf11737 (diff)
downloadsamba-3e0501082cc5e5715dd315f890560a5759331df3.tar.gz
samba-3e0501082cc5e5715dd315f890560a5759331df3.tar.xz
samba-3e0501082cc5e5715dd315f890560a5759331df3.zip
fixed default port handling pointed out by Tom Jansen
(This used to be commit 8246e6ca0bd0eaa92de602db46a119d368e93391)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/raw/clisocket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/raw/clisocket.c b/source4/libcli/raw/clisocket.c
index 6ccdeef366..f596cba854 100644
--- a/source4/libcli/raw/clisocket.c
+++ b/source4/libcli/raw/clisocket.c
@@ -41,7 +41,7 @@ struct cli_socket *cli_sock_init(void)
sock->mem_ctx = mem_ctx;
sock->fd = -1;
- sock->port = 445;
+ sock->port = 0;
/* 20 second default timeout */
sock->timeout = 20000;