summaryrefslogtreecommitdiff
path: root/net/vpnc/patches/patch-aa
blob: 30bebfe79327490d16f416e6aa06620fe2ee8920 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-aa,v 1.2 2004/11/26 23:03:54 hubertf Exp $

--- config.c.orig	2004-11-22 01:11:48.000000000 +0100
+++ config.c
@@ -484,8 +484,8 @@ void do_config(int argc, char **argv)
 		}
 	}
 
-	read_config_file("/etc/vpnc/default.conf", config, 1);
-	read_config_file("/etc/vpnc.conf", config, 1);
+	read_config_file(PKG_SYSCONFDIR "/vpnc/default.conf", config, 1);
+	read_config_file(PKG_SYSCONFDIR "/vpnc.conf", config, 1);
 
 	if (!print_config) {
 		for (i = 0; config_names[i].name != NULL; i++)