mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-14 18:36:27 +00:00
PPP, IPV6CP, code cleaning on VJ support
This commit is contained in:
parent
1dd050aaca
commit
8a436d5103
@ -984,9 +984,7 @@ static int ipv6cp_reqci(fsm *f, u_char *inp, int *len, int reject_if_disagree) {
|
|||||||
}
|
}
|
||||||
GETSHORT(cishort, p);
|
GETSHORT(cishort, p);
|
||||||
IPV6CPDEBUG(("(%d)", cishort));
|
IPV6CPDEBUG(("(%d)", cishort));
|
||||||
#endif /* IPV6CP_COMP */
|
|
||||||
|
|
||||||
#ifdef IPV6CP_COMP
|
|
||||||
if (!(cishort == IPV6CP_COMP)) {
|
if (!(cishort == IPV6CP_COMP)) {
|
||||||
orc = CONFREJ;
|
orc = CONFREJ;
|
||||||
break;
|
break;
|
||||||
@ -995,10 +993,7 @@ static int ipv6cp_reqci(fsm *f, u_char *inp, int *len, int reject_if_disagree) {
|
|||||||
ho->neg_vj = 1;
|
ho->neg_vj = 1;
|
||||||
ho->vj_protocol = cishort;
|
ho->vj_protocol = cishort;
|
||||||
break;
|
break;
|
||||||
#else
|
#endif /* IPV6CP_COMP */
|
||||||
orc = CONFREJ;
|
|
||||||
break;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
orc = CONFREJ;
|
orc = CONFREJ;
|
||||||
|
Loading…
Reference in New Issue
Block a user