summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-09-08 19:37:45 +0000
committerLuke Leighton <lkcl@samba.org>1999-09-08 19:37:45 +0000
commit7f8f5e15bdffec00454168c0591fa39a88d191c2 (patch)
tree25faae6d6dc80106bd4dacf323488af4517e0583 /source3/lib
parent58f8159566e49df82be1ed0ade83821a184b9203 (diff)
downloadsamba-7f8f5e15bdffec00454168c0591fa39a88d191c2.tar.gz
samba-7f8f5e15bdffec00454168c0591fa39a88d191c2.tar.bz2
samba-7f8f5e15bdffec00454168c0591fa39a88d191c2.zip
bertl <bs@niggard.org> patch for making samba listen on port 445, just like
nt 5 does. cool! (This used to be commit 727e1421b2c0f8c72c428776593498103304082b)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_sock.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c
index e9859dfa17..50c295f2bd 100644
--- a/source3/lib/util_sock.c
+++ b/source3/lib/util_sock.c
@@ -35,6 +35,9 @@ BOOL passive = False;
/* the client file descriptor */
int Client = -1;
+/* the port, where client connected */
+int ClientPort = 0;
+
/* the last IP received from */
struct in_addr lastip;