diff options
author | 2003-02-11 20:15:59 +0000 | |
---|---|---|
committer | 2003-02-11 20:15:59 +0000 | |
commit | f98d3d6246694cb0ffcc9dacb2c2bcc4082e7795 (patch) | |
tree | 8fc18c1560e555663225734d5065fd657a1936fc | |
parent | allow macro definition on the command line: (diff) | |
download | wireguard-openbsd-f98d3d6246694cb0ffcc9dacb2c2bcc4082e7795.tar.xz wireguard-openbsd-f98d3d6246694cb0ffcc9dacb2c2bcc4082e7795.zip |
adjust after pfctl changes
-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; } |