Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Check the global option "address" if the user didn't specify
[rsync/rsync.git]
/
clientserver.c
diff --git
a/clientserver.c
b/clientserver.c
index
0cb548f
..
ceb53d1
100644
(file)
--- a/
clientserver.c
+++ b/
clientserver.c
@@
-600,6
+600,8
@@
int daemon_main(void)
if (rsync_port == 0 && (rsync_port = lp_rsync_port()) == 0)
rsync_port = RSYNC_PORT;
+ if (bind_address == NULL)
+ bind_address = lp_bind_address();
log_init();