summaryrefslogtreecommitdiff
path: root/source3/libsmb/clirap.c
diff options
context:
space:
mode:
authorChristopher R. Hertel <crh@samba.org>2000-10-11 16:24:20 +0000
committerChristopher R. Hertel <crh@samba.org>2000-10-11 16:24:20 +0000
commit2cddf134e698e19d07b31ef68b325bc1c7070782 (patch)
tree3ebf7fe596c3cc91d8d899509cce676672ee1e26 /source3/libsmb/clirap.c
parent9a872fb616e54a8cee07963ec318a7939f3794af (diff)
downloadsamba-2cddf134e698e19d07b31ef68b325bc1c7070782.tar.gz
samba-2cddf134e698e19d07b31ef68b325bc1c7070782.tar.bz2
samba-2cddf134e698e19d07b31ef68b325bc1c7070782.zip
Simple cleanup, but I also changed the value of the dlevel parameter passed
to open_socket_in() from within the open_sockets() function. This has some effect on the way port numbers are assigned. Basically, if we use the -r switch we are saying 'use port 137'. If we can't do that, there should be an error message and a failure. If we don't use -r then we simply select the first available port. The way it was working, if we selected -r and port 137 was in use, wierd things would happen as open_socket_in() tried to find another port. (This used to be commit f09cb41ad86b233253758de7ef2781589ac07b86)
Diffstat (limited to 'source3/libsmb/clirap.c')
0 files changed, 0 insertions, 0 deletions