diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2002-11-23 05:22:25 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2002-11-23 05:22:25 +0000 |
commit | 06753c3fd451cfd13f5a2063c539f12d67d5c991 (patch) | |
tree | 4e255b25bd0c5d522b84b3185b1d97b67a93de91 /sbin/pfctl/pf_print_state.h | |
parent | 1691df433770a29ad8547bf930bf7b9429c95b7c (diff) |
code to support loading of pf rules with multiple redirection addresses
(in nat, rdr, route-to, dup-to and reply-to)
Syntax looks like this, see pf.conf(5) for details:
nat on wi0 proto { tcp, icmp } from any to 192.168.0.2 -> \
192.168.0.16/29 source-hash random
rdr on wi0 proto { tcp } from any to 192.168.0.34 port 22 -> \
{ 192.168.0.8/31, 192.168.0.15 } port 22 round-robin
ok dhartmei@ henning@
Diffstat (limited to 'sbin/pfctl/pf_print_state.h')
-rw-r--r-- | sbin/pfctl/pf_print_state.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/pf_print_state.h b/sbin/pfctl/pf_print_state.h index 989cc344913..f125c154f2a 100644 --- a/sbin/pfctl/pf_print_state.h +++ b/sbin/pfctl/pf_print_state.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_print_state.h,v 1.6 2002/10/25 10:40:45 camield Exp $ */ +/* $OpenBSD: pf_print_state.h,v 1.7 2002/11/23 05:22:24 mcbride Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -33,7 +33,7 @@ #ifndef _PF_PRINT_STATE_H_ #define _PF_PRINT_STATE_H_ -void print_addr(struct pf_addr_wrap *, struct pf_addr *, sa_family_t); +void print_addr(struct pf_addr_wrap *, sa_family_t); void print_host(struct pf_state_host *, sa_family_t, int); void print_seq(struct pf_state_peer *); void print_state(struct pf_state *s, int); |