diff options
author | Cedric Berger <cedric@cvs.openbsd.org> | 2003-01-03 10:39:10 +0000 |
---|---|---|
committer | Cedric Berger <cedric@cvs.openbsd.org> | 2003-01-03 10:39:10 +0000 |
commit | 9cc0993006927317c484d1e3ab7ebe292d23b92d (patch) | |
tree | 91c9aa8f9a17e2cd5d90d3bf143fffad5ea40287 /sys/net/pf_ioctl.c | |
parent | b38e28efaeca5daf4e6c6033b5072733db287464 (diff) |
1) pfr_insert_kentries() cannot return ENOMEM anymore -> make it void.
2) add new PFR_FLAG_REPLACE for use by pfr_tst_addrs().
3) add new pfrio_nmatch alias to pfioc_table, set by pfr_tst_addrs().
Tested on i386, sparc64
Diffstat (limited to 'sys/net/pf_ioctl.c')
-rw-r--r-- | sys/net/pf_ioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf_ioctl.c b/sys/net/pf_ioctl.c index b520be303ec..8f41ded176b 100644 --- a/sys/net/pf_ioctl.c +++ b/sys/net/pf_ioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_ioctl.c,v 1.40 2003/01/02 11:34:59 mcbride Exp $ */ +/* $OpenBSD: pf_ioctl.c,v 1.41 2003/01/03 10:39:09 cedric Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -1838,7 +1838,7 @@ pfioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct proc *p) struct pfioc_table *io = (struct pfioc_table *)addr; error = pfr_tst_addrs(&io->pfrio_table, io->pfrio_buffer, - io->pfrio_size, io->pfrio_flags); + io->pfrio_size, &io->pfrio_nmatch, io->pfrio_flags); break; } |