mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-15 22:49:16 +00:00
PPP, CCP, re-added missing ccp_test()
ccp_test() is not only used to test kernel support, but also to set MPPE keys, we will change that further, but for now, re-add the necessary ccp_test()
This commit is contained in:
parent
caf9fc5687
commit
489760d2e3
@ -730,6 +730,8 @@ static void ccp_addci(fsm *f, u_char *p, int *lenp) {
|
||||
MPPE_OPTS_TO_CI(go->mppe, &p[2]);
|
||||
MPPE_OPTS_TO_CI(go->mppe, &opt_buf[2]);
|
||||
MEMCPY(&opt_buf[CILEN_MPPE], mppe_recv_key, MPPE_MAX_KEY_LEN);
|
||||
/* ccp_test() can't fail, we've already tested it! */
|
||||
ccp_test(pcb, opt_buf, CILEN_MPPE + MPPE_MAX_KEY_LEN, 0);
|
||||
p += CILEN_MPPE;
|
||||
}
|
||||
#endif /* MPPE_SUPPORT */
|
||||
|
Loading…
Reference in New Issue
Block a user