13 lines
442 B
Plaintext
13 lines
442 B
Plaintext
$OpenBSD: patch-src_client_side_c,v 1.9 2006/11/13 02:11:39 brad Exp $
|
|
--- src/client_side.c.orig Sat Sep 30 17:10:48 2006
|
|
+++ src/client_side.c Sat Nov 4 15:50:21 2006
|
|
@@ -4456,7 +4456,7 @@ clientNatLookup(ConnStateData * conn)
|
|
static int pffd = -1;
|
|
static time_t last_reported = 0;
|
|
if (pffd < 0) {
|
|
- pffd = open("/dev/pf", O_RDWR);
|
|
+ pffd = open("/dev/pf", O_RDONLY);
|
|
if (pffd >= 0)
|
|
commSetCloseOnExec(pffd);
|
|
}
|