Commit 986aaaaa authored by Wayne Davison's avatar Wayne Davison

Check the global option "address" if the user didn't specify

an --address option when starting the daemon.
parent c96ee231
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment