diff options
author | Cedric Berger <cedric@cvs.openbsd.org> | 2003-01-25 16:33:20 +0000 |
---|---|---|
committer | Cedric Berger <cedric@cvs.openbsd.org> | 2003-01-25 16:33:20 +0000 |
commit | e1c43c015fbc0323218ca4640bd60329ede04839 (patch) | |
tree | f76c281bfad756f43728d3f8f387c24a1a4d50dc /usr.sbin/authpf/authpf.c | |
parent | 8bfd6ca75c27fc7672a6892648629aec0c53a7b8 (diff) |
Permit initialisation of a table content from a file in pf.conf.
Cleaning up of the table options parsing, more flexible.
idea+cleanup deraadt@, ok dhartmei@, pass all regress tests.
Diffstat (limited to 'usr.sbin/authpf/authpf.c')
-rw-r--r-- | usr.sbin/authpf/authpf.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/usr.sbin/authpf/authpf.c b/usr.sbin/authpf/authpf.c index 36ce004d53a..c37a5728ed9 100644 --- a/usr.sbin/authpf/authpf.c +++ b/usr.sbin/authpf/authpf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: authpf.c,v 1.45 2003/01/09 10:40:44 cedric Exp $ */ +/* $OpenBSD: authpf.c,v 1.46 2003/01/25 16:33:19 cedric Exp $ */ /* * Copyright (C) 1998 - 2002 Bob Beck (beck@openbsd.org). @@ -856,12 +856,20 @@ pfctl_set_limit(struct pfctl *pf, const char *opt, unsigned int limit) return (1); } -void pfctl_append_addr(char *addr, int net, int neg) +void +pfctl_append_addr(char *addr, int net, int neg) { /* appropriate message will be printed by following function */ } -void pfctl_define_table(char *name, int flags, int addrs) +void +pfctl_append_file(char *file) +{ + /* appropriate message will be printed by following function */ +} + +void +pfctl_define_table(char *name, int flags, int addrs) { fprintf(stderr, "table definitions not yet supported in authpf\n"); } |