diff options
-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 cddc78d..ad6e37e 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) |