diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-01-29 10:13:11 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-01-29 10:13:11 +0000 |
commit | bcd6413119daa340234dbc167069a8b0ccbd2c99 (patch) | |
tree | fdd24913f96d0becf2881027ce492d5f686a4c76 /usr.sbin/authpf | |
parent | 18f5b5157b6206833fda5bb544df9ef7b299e2b0 (diff) |
do setprocticle; ok camield
Diffstat (limited to 'usr.sbin/authpf')
-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); |