diff options
Diffstat (limited to 'src/daemon.c')
-rw-r--r-- | src/daemon.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/daemon.c b/src/daemon.c index 545cb32..b3e269c 100644 --- a/src/daemon.c +++ b/src/daemon.c @@ -168,12 +168,10 @@ int main(int argc, char *argv[]) /* check this before redirecting the logs, so that it's really obvious */ if (!dcc_should_be_inetd()) if (opt_allowed == NULL) { - rs_log_error("--allow or --allow-private option is now mandatory; " - "you must specify which clients are allowed to connect." - " Use --allow-private to allow non-Internet (globally" + rs_log_warning("No --allow option specified. Defaulting to --allow-private." + " Allowing non-Internet (globally" " routable) addresses."); - ret = EXIT_BAD_ARGUMENTS; - goto out; + opt_allow_private = 1; } if ((ret = dcc_set_lifetime()) != 0) |