fixed comment, fixed unused parameter in mppe_compress()

This commit is contained in:
goldsimon 2015-09-08 09:50:30 +02:00
parent 8a0fb03e21
commit b8d7a2b8e6
2 changed files with 3 additions and 1 deletions

View File

@ -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;

View File

@ -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.
*/