aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2001-02-02 01:41:26 +0000
committerBrian Somers <brian@FreeBSD.org>2001-02-02 01:41:26 +0000
commit728ef5b2b0b385629e3e326fd0645f83e3e98b49 (patch)
treec24409022363bb69f198a6e4d71469b4eae58c2f /usr.sbin
parentefd39a2f76587931fc40f9bb5fc6e647b29ee31e (diff)
Notes
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ppp/bundle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/bundle.c b/usr.sbin/ppp/bundle.c
index 9aea891b212f..5e808de69c7c 100644
--- a/usr.sbin/ppp/bundle.c
+++ b/usr.sbin/ppp/bundle.c
@@ -701,7 +701,7 @@ bundle_Create(const char *prefix, int type, int unit)
bundle.dev.fd = ID0open(bundle.dev.Name, O_RDWR);
if (bundle.dev.fd >= 0)
break;
- else if (errno == ENXIO) {
+ else if (errno == ENXIO || errno == ENOENT) {
#if defined(__FreeBSD__) && !defined(NOKLDLOAD)
if (bundle.unit == minunit && !kldtried++) {
/*