pkgsrc/net/spread/patches/patch-ba

14 lines
585 B
Text
Raw Normal View History

$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)
{