mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 23:29:25 +00:00
fixed comment, fixed unused parameter in mppe_compress()
This commit is contained in:
parent
8a0fb03e21
commit
b8d7a2b8e6
@ -280,7 +280,7 @@ struct netif {
|
||||
/** counters */
|
||||
u32_t ifinoctets;
|
||||
u32_t ifinucastpkts;
|
||||
u32_t ifinnucastpkts; /* @todo: never incremented */
|
||||
u32_t ifinnucastpkts;
|
||||
u32_t ifindiscards;
|
||||
u32_t ifoutoctets;
|
||||
u32_t ifoutucastpkts;
|
||||
|
@ -202,6 +202,8 @@ mppe_compress(ppp_pcb *pcb, ppp_mppe_state *state, struct pbuf **pb, u16_t proto
|
||||
u8_t *pl;
|
||||
err_t err;
|
||||
|
||||
LWIP_UNUSED_ARG(pcb);
|
||||
|
||||
/* TCP stack requires that we don't change the packet payload, therefore we copy
|
||||
* the whole packet before encryption.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user