mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-04 13:34:38 +08:00
Fix bug #47592: pppapi_do_ppp_set_notify_phase_callback has invalid parameter type
... and one more I missed in my conversion yesterday
This commit is contained in:
parent
141aeaab3d
commit
3a7c998f91
@ -101,7 +101,7 @@ pppapi_set_auth(ppp_pcb *pcb, u8_t authtype, const char *user, const char *passw
|
|||||||
* Call ppp_set_notify_phase_callback() inside the tcpip_thread context.
|
* Call ppp_set_notify_phase_callback() inside the tcpip_thread context.
|
||||||
*/
|
*/
|
||||||
static err_t
|
static err_t
|
||||||
pppapi_do_ppp_set_notify_phase_callback(struct tcpip_api_call *m)
|
pppapi_do_ppp_set_notify_phase_callback(struct tcpip_api_call_data *m)
|
||||||
{
|
{
|
||||||
struct pppapi_msg *msg = (struct pppapi_msg *)m;
|
struct pppapi_msg *msg = (struct pppapi_msg *)m;
|
||||||
ppp_set_notify_phase_callback(msg->msg.ppp, msg->msg.msg.setnotifyphasecb.notify_phase_cb);
|
ppp_set_notify_phase_callback(msg->msg.ppp, msg->msg.msg.setnotifyphasecb.notify_phase_cb);
|
||||||
@ -273,7 +273,7 @@ pppapi_connect(ppp_pcb *pcb, u16_t holdoff)
|
|||||||
* Call ppp_listen() inside the tcpip_thread context.
|
* Call ppp_listen() inside the tcpip_thread context.
|
||||||
*/
|
*/
|
||||||
static err_t
|
static err_t
|
||||||
pppapi_do_ppp_listen(struct tcpip_api_call *m)
|
pppapi_do_ppp_listen(struct tcpip_api_call_data *m)
|
||||||
{
|
{
|
||||||
struct pppapi_msg *msg = (struct pppapi_msg *)m;
|
struct pppapi_msg *msg = (struct pppapi_msg *)m;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user