diff options
author | 2003-01-29 10:13:10 +0000 | |
---|---|---|
committer | 2003-01-29 10:13:10 +0000 | |
commit | f5fcd46050022ff4032ebd1bb39d5e211b0f5ed5 (patch) | |
tree | 3bcfc9136803bf7e1918ec8cc2e32590cae98b79 | |
parent | /usr/share/doc/html/bind; ok deraadt@ (diff) | |
download | wireguard-openbsd-f5fcd46050022ff4032ebd1bb39d5e211b0f5ed5.tar.xz wireguard-openbsd-f5fcd46050022ff4032ebd1bb39d5e211b0f5ed5.zip |
do setprocticle; ok camield
-rw-r--r-- | usr.sbin/authpf/authpf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/authpf/authpf.c b/usr.sbin/authpf/authpf.c index 40528890366..315a020719d 100644 --- a/usr.sbin/authpf/authpf.c +++ b/usr.sbin/authpf/authpf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: authpf.c,v 1.48 2003/01/27 00:59:20 dhartmei Exp $ */ +/* $OpenBSD: authpf.c,v 1.49 2003/01/29 10:13:10 deraadt Exp $ */ /* * Copyright (C) 1998 - 2002 Bob Beck (beck@openbsd.org). @@ -269,6 +269,7 @@ main(int argc, char *argv[]) while (1) { printf("\r\nHello %s, ", luser); printf("You are authenticated from host \"%s\"\r\n", ipsrc); + setproctitle("%s@%s", luser, ipsrc); print_message(PATH_MESSAGE); while (1) { sleep(10); |