diff options
author | brian <brian@FreeBSD.org> | 1999-05-13 19:29:40 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-05-13 19:29:40 +0000 |
commit | bc576fdb28e703a8f2cca219067e976735d3815d (patch) | |
tree | a636b4a3f920f461b02bf8d2aae8cb6594e3a1b4 /usr.sbin/ppp/physical.c | |
parent | 2ff48aab7d0e0a07f0f6d5b2f85fc3b8b0aaf5b6 (diff) | |
download | FreeBSD-src-bc576fdb28e703a8f2cca219067e976735d3815d.zip FreeBSD-src-bc576fdb28e703a8f2cca219067e976735d3815d.tar.gz |
Initialise the struct device part of struct ttydevice.
Diffstat (limited to 'usr.sbin/ppp/physical.c')
-rw-r--r-- | usr.sbin/ppp/physical.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.sbin/ppp/physical.c b/usr.sbin/ppp/physical.c index b9b8d23..05ff19a 100644 --- a/usr.sbin/ppp/physical.c +++ b/usr.sbin/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.10 1999/05/09 20:13:51 brian Exp $ + * $Id: physical.c,v 1.11 1999/05/12 09:48:56 brian Exp $ * */ @@ -803,12 +803,11 @@ physical_Open(struct physical *p, struct bundle *bundle) for (h = 0; h < NDEVICES && p->handler == NULL && p->fd >= 0; h++) p->handler = (*devices[h].create)(p); if (p->fd >= 0) { - if (p->handler == NULL) + if (p->handler == NULL) { physical_SetupStack(p, PHYSICAL_NOFORCE); + log_Printf(LogDEBUG, "%s: stdin is unidentified\n", p->link.name); + } physical_Found(p); - if (p->handler == NULL) - log_Printf(LogDEBUG, "%s: stdin is unidentified\n", - p->link.name); } } else { dev = p->cfg.devlist; |