mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-27 15:16:03 +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);
|
||||
IPV6CPDEBUG(("(%d)", cishort));
|
||||
#endif /* IPV6CP_COMP */
|
||||
|
||||
#ifdef IPV6CP_COMP
|
||||
if (!(cishort == IPV6CP_COMP)) {
|
||||
orc = CONFREJ;
|
||||
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->vj_protocol = cishort;
|
||||
break;
|
||||
#else
|
||||
orc = CONFREJ;
|
||||
break;
|
||||
#endif
|
||||
#endif /* IPV6CP_COMP */
|
||||
|
||||
default:
|
||||
orc = CONFREJ;
|
||||
|
Loading…
Reference in New Issue
Block a user