summaryrefslogtreecommitdiff
path: root/net/spread4/files/patch-auth-ip.c
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-16 22:28:08 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-16 22:28:08 +0000
commit1420ecfec719ed058b8eae0a9e4199f568a270d1 (patch)
treedf3d87b634871e1f4578c4d57b57e20906c1c901 /net/spread4/files/patch-auth-ip.c
parentiMaintainer update to version 2.0.2 (diff)
Maintainer update to version 3.17.0
PR: ports/45178 Submitted by: Joshua Goodall <joshua@roughtrade.net>
Notes
Notes: svn path=/head/; revision=70266
Diffstat (limited to 'net/spread4/files/patch-auth-ip.c')
-rw-r--r--net/spread4/files/patch-auth-ip.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/spread4/files/patch-auth-ip.c b/net/spread4/files/patch-auth-ip.c
new file mode 100644
index 000000000000..4c49b4278833
--- /dev/null
+++ b/net/spread4/files/patch-auth-ip.c
@@ -0,0 +1,13 @@
+--- auth-ip.c Sun Sep 22 12:56:52 2002
++++ auth-ip.c Wed Nov 6 02:39:28 2002
+@@ -94,8 +94,8 @@
+ 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")) )
+- Alarm( PRINT, "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: " SPREAD_ETCDIR "/spread.access_ip\n");
+ if (fp == NULL)
+ {
+ Alarm( PRINT, "ip_init: IP access control file not found.\nIf you are using IP based access controls, please make sure the file exists.\n");