summaryrefslogtreecommitdiff
path: root/accel-pptpd/ppp/ppp.c
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-10-08 12:16:07 +0400
committerKozlov Dmitry <dima@server>2010-10-08 12:16:07 +0400
commitc258ec9bc665fdbd479498a77aea5589b316e074 (patch)
tree4db52663a053e7237e06d1474e603f97b17aafa2 /accel-pptpd/ppp/ppp.c
parent66ecf5cd90f437b508749e64914daed0a9e2ba3e (diff)
downloadaccel-ppp-c258ec9bc665fdbd479498a77aea5589b316e074.tar.gz
accel-ppp-c258ec9bc665fdbd479498a77aea5589b316e074.zip
ctrl: implemented PPPoE server
Diffstat (limited to 'accel-pptpd/ppp/ppp.c')
-rw-r--r--accel-pptpd/ppp/ppp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pptpd/ppp/ppp.c b/accel-pptpd/ppp/ppp.c
index 3e51ecb..24795b1 100644
--- a/accel-pptpd/ppp/ppp.c
+++ b/accel-pptpd/ppp/ppp.c
@@ -80,7 +80,7 @@ int __export establish_ppp(struct ppp_t *ppp)
{
/* Open an instance of /dev/ppp and connect the channel to it */
if (ioctl(ppp->fd, PPPIOCGCHAN, &ppp->chan_idx) == -1) {
- log_ppp_error("Couldn't get channel number\n");
+ log_ppp_error("ioctl(PPPIOCGCHAN): %s\n", strerror(errno));
return -1;
}