diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-09-01 13:12:36 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-09-01 13:12:36 +0000 |
commit | 6846c0600e2d6a880b6fc162947311bb9af6f8e5 (patch) | |
tree | 93c1c4fcd53c3318f900e014e5159cac62b30bb2 | |
parent | 0e5304db65cc0400d2756f684baf13104de46631 (diff) |
dialup tty semantic is wrong
-rw-r--r-- | sbin/dump/dump.h | 3 | ||||
-rw-r--r-- | sbin/dump/optr.c | 9 |
2 files changed, 3 insertions, 9 deletions
diff --git a/sbin/dump/dump.h b/sbin/dump/dump.h index 92570053bbc..369e97cdcfa 100644 --- a/sbin/dump/dump.h +++ b/sbin/dump/dump.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dump.h,v 1.2 1996/06/23 14:30:10 deraadt Exp $ */ +/* $OpenBSD: dump.h,v 1.3 1996/09/01 13:12:35 deraadt Exp $ */ /* $NetBSD: dump.h,v 1.9 1995/03/18 14:54:57 cgd Exp $ */ /*- @@ -149,7 +149,6 @@ void interrupt __P((int signo)); /* in case operator bangs on console */ #define X_ABORT 3 /* abort dump; don't attempt checkpointing */ #define OPGRENT "operator" /* group entry to notify */ -#define DIALUP "ttyd" /* prefix for dialups */ struct fstab *fstabsearch __P((char *key)); /* search fs_file and fs_spec */ diff --git a/sbin/dump/optr.c b/sbin/dump/optr.c index 3c0451d88c6..2002d393b3a 100644 --- a/sbin/dump/optr.c +++ b/sbin/dump/optr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: optr.c,v 1.6 1996/08/06 17:47:15 deraadt Exp $ */ +/* $OpenBSD: optr.c,v 1.7 1996/09/01 13:12:35 deraadt Exp $ */ /* $NetBSD: optr.c,v 1.4 1996/05/18 16:16:17 jtk Exp $ */ /*- @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)optr.c 8.2 (Berkeley) 1/6/94"; #else -static char rcsid[] = "$OpenBSD: optr.c,v 1.6 1996/08/06 17:47:15 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: optr.c,v 1.7 1996/09/01 13:12:35 deraadt Exp $"; #endif #endif /* not lint */ @@ -249,11 +249,6 @@ broadcast(message) for (np = gp->gr_mem; *np; np++) { if (strncmp(*np, utmp.ut_name, sizeof(utmp.ut_name)) != 0) continue; - /* - * Do not send messages to operators on dialups - */ - if (strncmp(utmp.ut_line, DIALUP, strlen(DIALUP)) == 0) - continue; #ifdef DEBUG msg("Message to %s at %s\n", *np, utmp.ut_line); #endif |