diff options
author | YASUOKA Masahiko <yasuoka@cvs.openbsd.org> | 2020-07-28 16:47:43 +0000 |
---|---|---|
committer | YASUOKA Masahiko <yasuoka@cvs.openbsd.org> | 2020-07-28 16:47:43 +0000 |
commit | b6459668a8100d664f5b2280ff6c3f96ef02e123 (patch) | |
tree | f860e387c8a9357924228bc4c64c6e7d3f23a302 /sys/net/pfvar.h | |
parent | 83ecb4e00b9410abb28b8f0474ae39ac462dfc30 (diff) |
Use the table on root always if current table is not active.
ok sashan
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r-- | sys/net/pfvar.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h index 4cf8197fc85..7f0e9b22421 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfvar.h,v 1.494 2020/07/21 14:10:51 henning Exp $ */ +/* $OpenBSD: pfvar.h,v 1.495 2020/07/28 16:47:42 yasuoka Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -1845,6 +1845,8 @@ int pfr_ina_rollback(struct pfr_table *, u_int32_t, int *, int); int pfr_ina_commit(struct pfr_table *, u_int32_t, int *, int *, int); int pfr_ina_define(struct pfr_table *, struct pfr_addr *, int, int *, int *, u_int32_t, int); +struct pfr_ktable + *pfr_ktable_select_active(struct pfr_ktable *); extern struct pfi_kif *pfi_all; |