$NetBSD$

--- 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")) )
             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")) )
+            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");
