diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-02-11 20:16:00 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-02-11 20:16:00 +0000 |
commit | 314ec9c06880a03e1aa9d42b37795d6e32d5ba33 (patch) | |
tree | e089f48a2e979a25d8cd250cdcca3ce9a7004b45 /usr.sbin/authpf | |
parent | d4e21603c7e3479dcef5cfab16911a0433d5774b (diff) |
adjust after pfctl changes
Diffstat (limited to 'usr.sbin/authpf')
-rw-r--r-- | usr.sbin/authpf/authpf.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/authpf/authpf.c b/usr.sbin/authpf/authpf.c index d056a87e6a3..2a77b808d34 100644 --- a/usr.sbin/authpf/authpf.c +++ b/usr.sbin/authpf/authpf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: authpf.c,v 1.51 2003/02/03 09:59:19 henning Exp $ */ +/* $OpenBSD: authpf.c,v 1.52 2003/02/11 20:15:59 henning Exp $ */ /* * Copyright (C) 1998 - 2002 Bob Beck (beck@openbsd.org). @@ -52,7 +52,7 @@ #include "pathnames.h" -extern int symset(const char *, const char *); +extern int symset(const char *, const char *, int); static int read_config(FILE *); static void print_message(char *); @@ -628,7 +628,8 @@ change_filter(int add, const char *luser, const char *ipsrc) } if (add) { - if (symset("user_ip", ipsrc) || symset("user_id", luser)) { + if (symset("user_ip", ipsrc, 0) || + symset("user_id", luser, 0)) { syslog(LOG_ERR, "symset"); goto error; } |