Accel-ppp does not work with all ADSL routes types

PPPoE related questions
haniaro
Posts: 23
Joined: 29 Dec 2019, 14:18

Re: Accel-ppp does not work with all ADSL routes types

Post by haniaro »

Hellow,
Sorry for error in previous post:
"when check disabled the connection failed."
the connection succeeded.

So I need to disable magic number check in Accel-PPP
Any help please?
haniaro
Posts: 23
Joined: 29 Dec 2019, 14:18

Re: Accel-ppp does not work with all ADSL routes types

Post by haniaro »

Hello,
Solved by adding the following code to ignore the error:

Code: Select all

static int ppp_chan_read(struct triton_md_handler_t *h){
...
while (1){
...
//2021-06-13: ignore miss configuration sent by Netis and Ibaa routers.
	if ((ppp_h->proto != proto) && (proto ==  0xc223))
		goto cont;
//------------------------------------------------
	lcp_send_proto_rej(ppp, proto);
}
}
Thank you.
Post Reply