From c258ec9bc665fdbd479498a77aea5589b316e074 Mon Sep 17 00:00:00 2001 From: Kozlov Dmitry Date: Fri, 8 Oct 2010 12:16:07 +0400 Subject: ctrl: implemented PPPoE server --- accel-pptpd/ppp/ppp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'accel-pptpd/ppp/ppp.c') 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; } -- cgit v1.2.3