diff options
Diffstat (limited to 'net/spread/patches/patch-ba')
-rw-r--r-- | net/spread/patches/patch-ba | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/net/spread/patches/patch-ba b/net/spread/patches/patch-ba index 276053caf26..4733b8fa6ea 100644 --- a/net/spread/patches/patch-ba +++ b/net/spread/patches/patch-ba @@ -1,13 +1,15 @@ -$NetBSD: patch-ba,v 1.1.1.1 2003/02/18 22:11:55 mjl Exp $ +$NetBSD: patch-ba,v 1.2 2004/10/30 11:54:12 recht Exp $ ---- auth-ip.c.orig 2003-02-18 20:54:23.000000000 +0100 -+++ auth-ip.c 2003-02-18 20:54:50.000000000 +0100 -@@ -94,7 +94,7 @@ +--- auth-ip.c.orig Fri Oct 29 20:13:28 2004 ++++ auth-ip.c Fri Oct 29 20:17:10 2004 +@@ -94,8 +94,8 @@ if (NULL != (fp = fopen("./spread.access_ip", "r")) ) - Alarm( PRINT, "ip_init: using file: ./spread.access_ip\n"); + Alarmp( SPLOG_INFO, ACM, "ip_init: using file: ./spread.access_ip\n"); if (fp == NULL) - if (NULL != (fp = fopen("/etc/spread.access_ip", "r")) ) +- Alarmp( SPLOG_INFO, ACM, "ip_init: using file: /etc/spread.access_ip\n"); + if (NULL != (fp = fopen(SPREAD_ETCDIR "/spread.access_ip", "r")) ) - Alarm( PRINT, "ip_init: using file: /etc/spread.access_ip\n"); ++ Alarmp( SPLOG_INFO, ACM, "ip_init: using file: " SPREAD_ETCDIR "/spread.access_ip\n"); if (fp == NULL) { + Alarmp( SPLOG_ERROR, ACM, "ip_init: IP access control file not found.\nIf you are using IP based access controls, please make sure the file exists.\n"); |