diff options
author | François Cachereul <f.cachereul@alphalink.fr> | 2014-10-29 09:30:40 +0100 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2014-10-29 12:10:43 +0300 |
commit | 7dec83c831f6965570898c13a20746ef062d2bf6 (patch) | |
tree | 07a5b36976e3754cc0519829421d3e63075e4c1c /accel-pppd/ppp | |
parent | cc796b92272d5ce9c90da2021d877e2e4d7e6a4b (diff) | |
download | accel-ppp-7dec83c831f6965570898c13a20746ef062d2bf6.tar.gz accel-ppp-7dec83c831f6965570898c13a20746ef062d2bf6.zip |
ppp: replace ppp_chan_send by ppp_unit_send in ppp_ccp.c
ppp compression is for now only handle on the bundle, thus should not
use ppp_chan_send
Signed-off-by: François Cachereul <f.cachereul@alphalink.fr>
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
Diffstat (limited to 'accel-pppd/ppp')
-rw-r--r-- | accel-pppd/ppp/ppp_ccp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/accel-pppd/ppp/ppp_ccp.c b/accel-pppd/ppp/ppp_ccp.c index cddc78dc..ad6e37e2 100644 --- a/accel-pppd/ppp/ppp_ccp.c +++ b/accel-pppd/ppp/ppp_ccp.c @@ -608,7 +608,7 @@ static void send_term_req(struct ppp_fsm_t *fsm) if (conf_ppp_verbose) log_ppp_info2("send [CCP TermReq id=%i]\n", hdr.id); - ppp_chan_send(ccp->ppp, &hdr, 6); + ppp_unit_send(ccp->ppp, &hdr, 6); } static void send_term_ack(struct ppp_fsm_t *fsm) @@ -623,8 +623,8 @@ static void send_term_ack(struct ppp_fsm_t *fsm) if (conf_ppp_verbose) log_ppp_info2("send [CCP TermAck id=%i]\n", hdr.id); - - ppp_chan_send(ccp->ppp, &hdr, 6); + + ppp_unit_send(ccp->ppp, &hdr, 6); } static void ccp_recv(struct ppp_handler_t*h) |