openbsd-ports/security/p0f/patches/patch-p0f_c
jose 7332fb8d9a update p0f to 1.8.3, which adds mysql support, so we add a mysql FLAVOR.
reviewed by margarida, avsm, and sturm, ok sturm
2003-07-19 17:02:06 +00:00

12 lines
387 B
Plaintext

--- p0f.c.orig Mon May 13 12:59:40 2002
+++ p0f.c Fri Feb 7 21:40:19 2003
@@ -397,7 +397,7 @@ void load_fprints(char *filename) {
char *p;
//bzero(fips,120000);
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);