13 lines
434 B
Plaintext

$OpenBSD: patch-p0f_c,v 1.2 2001/12/08 20:13:53 naddy Exp $
--- p0f.c.orig Sat Nov 24 03:10:28 2001
+++ p0f.c Sat Dec 8 21:13:33 2001
@@ -259,7 +259,7 @@ void load_fprints(char *filename) {
int i=0;
char *p;
x=fopen(filename, "r");
- if (!x) x=fopen("p0f.fp", "r");
+ if (!x) x=fopen(SYSCONFDIR "p0f.fp", "r");
if (!x) {
fprintf(stderr, "No OS fingerprint database (%s) found. Dumb mode on.\n",
filename);