diff options
author | Cedric Berger <cedric@cvs.openbsd.org> | 2003-01-01 15:26:18 +0000 |
---|---|---|
committer | Cedric Berger <cedric@cvs.openbsd.org> | 2003-01-01 15:26:18 +0000 |
commit | a6e7513247db0324a6dd0c72f5f8f62b9cb53db3 (patch) | |
tree | 600e6db804f2f3669bc20ccdb9b277c5a71631a4 /sys | |
parent | 7d74e435e5a11deffebe92eb71c3101d8a0607d7 (diff) |
disable the CLSTATS flag for now, since it violates the O_RDONLY check.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/pf_table.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/pf_table.c b/sys/net/pf_table.c index 0ac75edbbda..ef34997b7b0 100644 --- a/sys/net/pf_table.c +++ b/sys/net/pf_table.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_table.c,v 1.6 2003/01/01 14:16:56 cedric Exp $ */ +/* $OpenBSD: pf_table.c,v 1.7 2003/01/01 15:26:17 cedric Exp $ */ /* * Copyright (c) 2002 Cedric Berger @@ -501,7 +501,7 @@ pfr_get_astats(struct pfr_table *tbl, struct pfr_astats *addr, int *size, int rv, s; long tzero = time.tv_sec; - ACCEPT_FLAGS(PFR_FLAG_ATOMIC+PFR_FLAG_CLSTATS); + ACCEPT_FLAGS(PFR_FLAG_ATOMIC); /* XXX PFR_FLAG_CLSTATS disabled */ kt = pfr_lookup_table(tbl); if (kt == NULL) return (ESRCH); @@ -1059,7 +1059,7 @@ pfr_get_tstats(struct pfr_tstats *tbl, int *size, int flags) int s, n = pfr_ktable_cnt; long tzero = time.tv_sec; - ACCEPT_FLAGS(PFR_FLAG_ATOMIC+PFR_FLAG_CLSTATS+PFR_FLAG_RECURSE); + ACCEPT_FLAGS(PFR_FLAG_ATOMIC); /* XXX PFR_FLAG_CLSTATS disabled */ if (n > *size) { *size = n; return (0); |