summaryrefslogtreecommitdiff
path: root/net/spread/patches/patch-ba
blob: 276053caf2666591bd39c67e202c76ea46de3e41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ba,v 1.1.1.1 2003/02/18 22:11:55 mjl 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 @@
         if (NULL != (fp = fopen("./spread.access_ip", "r")) )
             Alarm( PRINT, "ip_init: using file: ./spread.access_ip\n");
     if (fp == NULL)
-        if (NULL != (fp = fopen("/etc/spread.access_ip", "r")) )
+        if (NULL != (fp = fopen(SPREAD_ETCDIR "/spread.access_ip", "r")) )
             Alarm( PRINT, "ip_init: using file: /etc/spread.access_ip\n");
     if (fp == NULL)
     {