aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/exec.c
diff options
context:
space:
mode:
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 80f8343b1d09..d1f3f648c1d2 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;
}
}