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