summaryrefslogtreecommitdiff
path: root/sbin/dump/optr.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-01 13:12:36 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-01 13:12:36 +0000
commit6846c0600e2d6a880b6fc162947311bb9af6f8e5 (patch)
tree93c1c4fcd53c3318f900e014e5159cac62b30bb2 /sbin/dump/optr.c
parent0e5304db65cc0400d2756f684baf13104de46631 (diff)
dialup tty semantic is wrong
Diffstat (limited to 'sbin/dump/optr.c')
-rw-r--r--sbin/dump/optr.c9
1 files changed, 2 insertions, 7 deletions
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