diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-02-11 20:11:37 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-02-11 20:11:37 +0000 |
commit | d4e21603c7e3479dcef5cfab16911a0433d5774b (patch) | |
tree | f9696d65c71927fea6e56c3346cb1ad83b17f17d /sbin/pfctl/pfctl.h | |
parent | 50c29c4389b6e232222340067a01662767eb7701 (diff) |
allow macro definition on the command line:
pfctl -Dextif=wi0 -f /etc/pf.conf
command line macro definitions override the ones made in the file (idea
theo), very handy if your notebook has another NIC at some conference, as
well as for debugging etc.
idea rezine@mistrusted.net via pb@
hacked live at FOSDEM
ok pb@ dhartmei@ cedric@
Diffstat (limited to 'sbin/pfctl/pfctl.h')
-rw-r--r-- | sbin/pfctl/pfctl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/pfctl/pfctl.h b/sbin/pfctl/pfctl.h index 4ad60ff3f07..5d780e4aa1e 100644 --- a/sbin/pfctl/pfctl.h +++ b/sbin/pfctl/pfctl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl.h,v 1.9 2003/01/24 11:11:17 henning Exp $ */ +/* $OpenBSD: pfctl.h,v 1.10 2003/02/11 20:11:36 henning Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -94,4 +94,6 @@ void print_seq(struct pf_state_peer *); void print_state(struct pf_state *, int); int unmask(struct pf_addr *, sa_family_t); +int pfctl_cmdline_symset(char *); + #endif /* _PFCTL_H_ */ |