[Spread-cvs] cvs commit: spread/daemon auth-ip.c
jonathan at spread.org
jonathan at spread.org
Mon Aug 26 19:37:54 EDT 2002
jonathan 02/08/26 23:37:54
Modified: daemon auth-ip.c
Log:
Make IP auth print out which protocols it is enabling.
The ACM tag was useless because the init is done before parsing the spread.conf
file.
Revision Changes Path
1.4 +2 -2 spread/daemon/auth-ip.c
Index: auth-ip.c
===================================================================
RCS file: /storage/cvsroot/spread/daemon/auth-ip.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- auth-ip.c 3 Feb 2002 19:28:10 -0000 1.3
+++ auth-ip.c 26 Aug 2002 23:37:54 -0000 1.4
@@ -111,14 +111,14 @@
if ( line[0] == 'u' && line[1] == 'n' && line[2] == 'i' && line[3] == 'x')
{
/* Special rule for unix domain sockets */
- Alarm( ACM, "ip_init: Allowing UNIX Domain Socket connections\n");
+ Alarm( PRINT, "ip_init: Allowing UNIX Domain Socket connections\n");
insert_ip_rule(0, 32);
continue;
}
if ( line[0] == 'l' && line[1] == 'o' && line[2] == 'c' && line[3] == 'a' && line[4] == 'l')
{
/* special rule for localhost connections over tcp */
- Alarm( ACM, "ip_init: Allowing localhost tcp Socket connections\n");
+ Alarm( PRINT, "ip_init: Allowing localhost tcp Socket connections\n");
localhost_ip = 127 << 24;
insert_ip_rule(localhost_ip, 8);
continue;
More information about the Spread-cvs
mailing list