diff options
-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); |