b8bedd34ec
ok espie@, pvalchev@
13 lines
531 B
Plaintext
13 lines
531 B
Plaintext
$OpenBSD: patch-src_client_side_c,v 1.7 2006/06/19 11:49:26 bernd Exp $
|
|
--- src/client_side.c.orig Fri Mar 10 17:58:35 2006
|
|
+++ src/client_side.c Thu Apr 13 19:21:21 2006
|
|
@@ -2832,7 +2832,7 @@ parseHttpRequest(ConnStateData * conn, m
|
|
#elif PF_TRANSPARENT
|
|
static time_t last_reported = 0;
|
|
if (pffd < 0)
|
|
- pffd = open("/dev/pf", O_RDWR);
|
|
+ pffd = open("/dev/pf", O_RDONLY);
|
|
if (pffd < 0) {
|
|
if (squid_curtime - last_reported > 60) {
|
|
debug(50, 1) ("parseHttpRequest: PF open failed: %s\n", xstrerror());
|