diff options
author | brian <brian@cvs.openbsd.org> | 1999-05-09 20:14:47 +0000 |
---|---|---|
committer | brian <brian@cvs.openbsd.org> | 1999-05-09 20:14:47 +0000 |
commit | 30f2f00605c73fd483d9bf188a6995032ea790e4 (patch) | |
tree | 9f660557527f72725f8fb33f73fd9ed425f5d7b2 | |
parent | f0905c97610d71420d13e18af7975fdde2e6ad72 (diff) |
Revert to the previous behaviour of only doing a utmp
login if we're -direct on a tty device.
-rw-r--r-- | usr.sbin/ppp/ppp/physical.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/ppp/physical.c b/usr.sbin/ppp/ppp/physical.c index 7ab109b0921..604e8bf9fc9 100644 --- a/usr.sbin/ppp/ppp/physical.c +++ b/usr.sbin/ppp/ppp/physical.c @@ -16,7 +16,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: physical.c,v 1.5 1999/05/08 11:06:38 brian Exp $ + * $Id: physical.c,v 1.6 1999/05/09 20:14:46 brian Exp $ * */ @@ -715,7 +715,7 @@ physical_IsSet(struct descriptor *d, const fd_set *fdset) void physical_Login(struct physical *p, const char *name) { - if (p->type == PHYS_DIRECT && !p->Utmp) { + if (p->type == PHYS_DIRECT && *p->name.base && !p->Utmp) { struct utmp ut; const char *connstr; |