aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/exec.c
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1999-11-26 22:44:33 +0000
committerBrian Somers <brian@FreeBSD.org>1999-11-26 22:44:33 +0000
commitfdc29d54a48f371bfc1c3af8a6dff0450b6523d0 (patch)
tree02e7ca276db88600b19e1c4e57da792780e09cc1 /usr.sbin/ppp/exec.c
parentda2440e8264eb599767a0926cd6bb18053d05d36 (diff)
Notes
Diffstat (limited to 'usr.sbin/ppp/exec.c')
-rw-r--r--usr.sbin/ppp/exec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/ppp/exec.c b/usr.sbin/ppp/exec.c
index 80f8343b1d09d..d1f3f648c1d2c 100644
--- a/usr.sbin/ppp/exec.c
+++ b/usr.sbin/ppp/exec.c
@@ -67,6 +67,7 @@
static struct device execdevice = {
EXEC_DEVICE,
"exec",
+ { CD_NOTREQUIRED, 0 },
NULL,
NULL,
NULL,
@@ -160,6 +161,8 @@ exec_Create(struct physical *p)
waitpid(pid, &stat, 0);
log_Printf(LogDEBUG, "Using descriptor %d for child\n", p->fd);
physical_SetupStack(p, execdevice.name, PHYSICAL_FORCE_ASYNC);
+ if (p->cfg.cd.necessity != CD_DEFAULT)
+ log_Printf(LogWARN, "Carrier settings ignored\n");
return &execdevice;
}
}