diff options
author | Luke Leighton <lkcl@samba.org> | 1999-09-15 17:30:02 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-09-15 17:30:02 +0000 |
commit | b9b4c1d56349824616f2fcaff57cedbc52168059 (patch) | |
tree | b4c4b08e98afdfd5fb16d9a2a4375745d0b3f59a /source3/smbd | |
parent | 6875b37baa4991b19edab20dc05f14ff18863e02 (diff) | |
download | samba-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/smbd')
-rw-r--r-- | source3/smbd/server.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 04d369df04..9d006fd176 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -82,7 +82,7 @@ static BOOL open_sockets_inetd(void) /* We will abort gracefully when the client or remote system goes away */ Client = dup(0); - ClientPort = 138; + ClientPort = SMB_PORT; /* close our standard file descriptors */ close_low_fds(); @@ -218,12 +218,12 @@ max can be %d\n", for(i = 0; i < num_interfaces; i++) { if(FD_ISSET(fd_listenset[i * 2],&lfds)) { s = fd_listenset[i * 2]; - ClientPort = 138; + ClientPort = SMB_PORT; break; } if(FD_ISSET(fd_listenset[i * 2 + 1],&lfds)) { s = fd_listenset[i * 2 + 1]; - ClientPort = 445; + ClientPort = SMB_PORT2; break; } } @@ -508,7 +508,7 @@ static void usage(char *pname) /* shall I run as a daemon */ BOOL is_daemon = False; int port = SMB_PORT; - int port445 = 445; + int port445 = SMB_PORT2; int opt; extern char *optarg; |