diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2002-01-06 21:56:13 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2002-01-06 21:56:13 +0000 |
commit | b7180b885b5e31ae1367aaf2a291f222c48c4945 (patch) | |
tree | 3af39f525c4e75daed16027f25aeec4160a34154 /sbin/pfctl/pfctl.c | |
parent | f6a4706fc1434bf995a1399ca560cec8bdb59d8a (diff) |
-x needs read-write access for DIOCSETDEBUG ioctl
Diffstat (limited to 'sbin/pfctl/pfctl.c')
-rw-r--r-- | sbin/pfctl/pfctl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c index 55280ef9ca4..73334d9cc84 100644 --- a/sbin/pfctl/pfctl.c +++ b/sbin/pfctl/pfctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl.c,v 1.49 2001/12/31 16:48:36 mickey Exp $ */ +/* $OpenBSD: pfctl.c,v 1.50 2002/01/06 21:56:12 dhartmei Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -731,6 +731,7 @@ main(int argc, char *argv[]) break; case 'x': debugopt = optarg; + mode = O_RDWR; break; case 'h': default: |