diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2015-11-22 12:42:10 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2015-12-04 21:30:40 +0300 |
commit | 939ff04fb80605e688720f64c824be3d21dad07e (patch) | |
tree | 474b80eb4aef7c33070b2d2255ad5ce7cf2a6405 /accel-pppd/ppp/lcp_opt_pcomp.c | |
parent | bf84f9763ca3b6f018774b2b1664e838e119b028 (diff) | |
download | accel-ppp-939ff04fb80605e688720f64c824be3d21dad07e.tar.gz accel-ppp-939ff04fb80605e688720f64c824be3d21dad07e.zip |
preparation for DPDK intergation (part 2)
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; |