summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/ppp')
-rw-r--r--accel-pppd/ppp/lcp_opt_pcomp.c4
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 97560ccf..6bc04d25 100644
--- a/accel-pppd/ppp/lcp_opt_pcomp.c
+++ b/accel-pppd/ppp/lcp_opt_pcomp.c
@@ -115,9 +115,9 @@ static int pcomp_recv_conf_ack(struct ppp_lcp_t *lcp, struct lcp_option_t *opt,
if (net->ppp_ioctl(lcp->ppp->chan_fd, PPPIOCGFLAGS, &flags))
goto err;
- flags &= ~SC_COMP_AC;
+ flags &= ~SC_COMP_PROT;
if (pcomp_opt->pcomp & 1)
- flags |= SC_COMP_AC;
+ flags |= SC_COMP_PROT;
if (net->ppp_ioctl(lcp->ppp->chan_fd, PPPIOCSFLAGS, &flags))
goto err;