X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fafpd%2Fafp_options.c;h=6d5fb0dfcf371efe211fa971b64caa2a26125f84;hb=f83b693bdc562adad0b8ddb538a0ab500c159fef;hp=407a594a769511d4aa39c9cbde24aba75b3c23a7;hpb=55c0d6d753dc022689616dedf38523e8388d4fd2;p=netatalk.git diff --git a/etc/afpd/afp_options.c b/etc/afpd/afp_options.c index 407a594a..6d5fb0df 100644 --- a/etc/afpd/afp_options.c +++ b/etc/afpd/afp_options.c @@ -159,8 +159,9 @@ void afp_options_init(struct afp_options *options) options->transports = AFPTRANS_TCP; /* TCP only */ options->passwdfile = _PATH_AFPDPWFILE; options->tickleval = 30; - options->timeout = 4; + options->timeout = 4; /* 4 tickles = 2 minutes */ options->sleep = 10* 120; /* 10 h in 30 seconds tick */ + options->disconnected = 20; /* 20 * 30 s (default tickleval) = 10 minutes */ options->server_notif = 1; options->authprintdir = NULL; options->signatureopt = "auto"; @@ -480,13 +481,7 @@ static void show_version( void ) puts( "afpd has been compiled with support for these features:\n" ); - printf( " AFP3.x support:\t" ); -#ifdef AFP3x - puts( "Yes" ); -#else - puts( "No" ); -#endif - + printf( " AFP3.x support:\tYes\n" ); printf( " TCP/IP Support:\t" ); puts( "Yes" );