summaryrefslogtreecommitdiff
path: root/source3/libsmb/clientgen.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-09-15 17:30:02 +0000
committerLuke Leighton <lkcl@samba.org>1999-09-15 17:30:02 +0000
commitb9b4c1d56349824616f2fcaff57cedbc52168059 (patch)
treeb4c4b08e98afdfd5fb16d9a2a4375745d0b3f59a /source3/libsmb/clientgen.c
parent6875b37baa4991b19edab20dc05f14ff18863e02 (diff)
downloadsamba-b9b4c1d56349824616f2fcaff57cedbc52168059.tar.gz
samba-b9b4c1d56349824616f2fcaff57cedbc52168059.tar.bz2
samba-b9b4c1d56349824616f2fcaff57cedbc52168059.zip
#defines for port 445 to SMB_PORT2
(This used to be commit a8d4560e0064a67a234eae89a564b79d2426d9a9)
Diffstat (limited to 'source3/libsmb/clientgen.c')
-rw-r--r--source3/libsmb/clientgen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index efed3555ba..3e31b980c4 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -2517,7 +2517,7 @@ BOOL cli_connect(struct cli_state *cli, const char *host, struct in_addr *ip)
}
- if (port == 0) port = 445;
+ if (port == 0) port = SMB_PORT2;
cli->fd = open_socket_out(SOCK_STREAM, &cli->dest_ip,
port, cli->timeout);
@@ -2527,7 +2527,7 @@ BOOL cli_connect(struct cli_state *cli, const char *host, struct in_addr *ip)
{
return False;
}
- port = 139;
+ port = SMB_PORT;
cli->fd = open_socket_out(SOCK_STREAM, &cli->dest_ip,
port, cli->timeout);