git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
435295f
)
r10644: Let the ports parameter be a comma-separated list, as documented in
author
James Peach
<jpeach@samba.org>
Fri, 30 Sep 2005 06:37:51 +0000
(06:37 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:04:48 +0000
(11:04 -0500)
smbd(8).
(This used to be commit
f049fd463b087ccf4873b03675cca5eb8576af2e
)
source3/smbd/server.c
patch
|
blob
|
history
diff --git
a/source3/smbd/server.c
b/source3/smbd/server.c
index a10968749d9009bbb018f33d21050a907f4a0471..1ff03174fe15b3dad287dee0dab4fff29f0677ea 100644
(file)
--- a/
source3/smbd/server.c
+++ b/
source3/smbd/server.c
@@
-245,7
+245,7
@@
static BOOL open_sockets_smbd(BOOL is_daemon, BOOL interactive, const char *smb_
continue;
}
- for (ptr=ports; next_token(&ptr, tok,
NULL
, sizeof(tok)); ) {
+ for (ptr=ports; next_token(&ptr, tok,
" \t,"
, sizeof(tok)); ) {
unsigned port = atoi(tok);
if (port == 0) {
continue;
@@
-285,7
+285,7
@@
static BOOL open_sockets_smbd(BOOL is_daemon, BOOL interactive, const char *smb_
num_interfaces = 1;
- for (ptr=ports; next_token(&ptr, tok,
NULL
, sizeof(tok)); ) {
+ for (ptr=ports; next_token(&ptr, tok,
" \t,"
, sizeof(tok)); ) {
unsigned port = atoi(tok);
if (port == 0) continue;
/* open an incoming socket */