summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2002-06-11 17:13:56 +0000
committerBob Beck <beck@cvs.openbsd.org>2002-06-11 17:13:56 +0000
commitec155aad5b9c34133fe45b52da7bb60b89fc4b0b (patch)
tree73d9424530ec3ed84add8aa6a2a8b34651e4b505 /usr.sbin
parent6bbf3836dc9e927ffa17469331464b130e807544 (diff)
fix breakage from the stupid way theo and I commited that last big pile of
changes.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/authpf/authpf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/authpf/authpf.c b/usr.sbin/authpf/authpf.c
index 3ccd88127e9..f83595e9c8b 100644
--- a/usr.sbin/authpf/authpf.c
+++ b/usr.sbin/authpf/authpf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: authpf.c,v 1.20 2002/06/11 04:45:32 kjell Exp $ */
+/* $OpenBSD: authpf.c,v 1.21 2002/06/11 17:13:55 beck Exp $ */
/*
* Copyright (C) 1998 - 2002 Bob Beck (beck@openbsd.org).
@@ -153,6 +153,9 @@ main(int argc, char *argv[])
strlcpy(luser, pw->pw_name, sizeof(luser));
+ /* Make our entry in /var/run as /var/run/authpf-ipaddr */
+ snprintf(pidfile, sizeof pidfile, "%s/%s", PATH_PIDFILE, ipsrc);
+
/*
* If someone else is already using this ip, then this person
* wants to switch users - so kill the old process and exit