diff options
Diffstat (limited to 'accel-pppd/ppp/lcp_opt_pcomp.c')
-rw-r--r-- | accel-pppd/ppp/lcp_opt_pcomp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pppd/ppp/lcp_opt_pcomp.c b/accel-pppd/ppp/lcp_opt_pcomp.c index 28ca98f9..97560ccf 100644 --- a/accel-pppd/ppp/lcp_opt_pcomp.c +++ b/accel-pppd/ppp/lcp_opt_pcomp.c @@ -112,14 +112,14 @@ static int pcomp_recv_conf_ack(struct ppp_lcp_t *lcp, struct lcp_option_t *opt, struct pcomp_option_t *pcomp_opt = container_of(opt, typeof(*pcomp_opt), opt); int flags; - if (ioctl(lcp->ppp->chan_fd, PPPIOCGFLAGS, &flags)) + if (net->ppp_ioctl(lcp->ppp->chan_fd, PPPIOCGFLAGS, &flags)) goto err; flags &= ~SC_COMP_AC; if (pcomp_opt->pcomp & 1) flags |= SC_COMP_AC; - if (ioctl(lcp->ppp->chan_fd, PPPIOCSFLAGS, &flags)) + if (net->ppp_ioctl(lcp->ppp->chan_fd, PPPIOCSFLAGS, &flags)) goto err; return 0; |