From 986aaaaa4b8dad49b8574905fec4048c4f53f167 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 6 Dec 2004 22:45:03 +0000 Subject: [PATCH] Check the global option "address" if the user didn't specify an --address option when starting the daemon. --- clientserver.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clientserver.c b/clientserver.c index 0cb548f3..ceb53d1e 100644 --- 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(); -- 2.34.1