mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-05 22:29:49 +00:00
PPP, MPPE, compile-out unused mppe_incomp() function
This commit is contained in:
parent
42fb74ce22
commit
33838b8c1c
@ -173,7 +173,9 @@ void mppe_comp_reset(ppp_pcb *pcb, ppp_mppe_state *state);
|
||||
err_t mppe_compress(ppp_pcb *pcb, ppp_mppe_state *state, struct pbuf **pb, u16_t protocol);
|
||||
void mppe_decomp_reset(ppp_pcb *pcb, ppp_mppe_state *state);
|
||||
err_t mppe_decompress(ppp_pcb *pcb, ppp_mppe_state *state, struct pbuf **pb);
|
||||
#if 0 /* unused */
|
||||
void mppe_incomp(ppp_pcb *pcb, ppp_mppe_state *state, unsigned char *ibuf, int icnt);
|
||||
#endif /* unused */
|
||||
|
||||
#endif /* MPPE_H */
|
||||
#endif /* PPP_SUPPORT && MPPE_SUPPORT */
|
||||
|
@ -389,6 +389,7 @@ mppe_decompress(ppp_pcb *pcb, ppp_mppe_state *state, struct pbuf **pb)
|
||||
return ERR_OK;
|
||||
}
|
||||
|
||||
#if 0 /* unused */
|
||||
/*
|
||||
* Incompressible data has arrived (this should never happen!).
|
||||
* We should probably drop the link if the protocol is in the range
|
||||
@ -406,5 +407,6 @@ void mppe_incomp(ppp_pcb *pcb, ppp_mppe_state *state, unsigned char *ibuf, int i
|
||||
"(proto %04x)\n", pcb->netif->num, PPP_PROTOCOL(ibuf)));
|
||||
}
|
||||
}
|
||||
#endif /* unused */
|
||||
|
||||
#endif /* PPP_SUPPORT && MPPE_SUPPORT */
|
||||
|
Loading…
Reference in New Issue
Block a user