openbsd-ports/security/p0f/patches/patch-p0f_c

12 lines
338 B
Plaintext

--- p0f.c.orig Tue Feb 5 14:59:56 2002
+++ p0f.c Tue Feb 5 14:59:21 2002
@@ -291,7 +291,7 @@
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);