mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-04 05:39:53 +00:00
Fixed some typos
This commit is contained in:
parent
3a1c5944e7
commit
32acb82bc0
@ -169,7 +169,7 @@
|
|||||||
#error "you have to define define DNS_LOCAL_HOSTLIST_INIT {{'host1', 0x123}, {'host2', 0x234}} to initialize DNS_LOCAL_HOSTLIST"
|
#error "you have to define define DNS_LOCAL_HOSTLIST_INIT {{'host1', 0x123}, {'host2', 0x234}} to initialize DNS_LOCAL_HOSTLIST"
|
||||||
#endif
|
#endif
|
||||||
#if PPP_SUPPORT && !PPPOS_SUPPORT & !PPPOE_SUPPORT
|
#if PPP_SUPPORT && !PPPOS_SUPPORT & !PPPOE_SUPPORT
|
||||||
#error "PPP_SUPPORT needs wither PPPOS_SUPPORT or PPPOE_SUPPORT turned on"
|
#error "PPP_SUPPORT needs either PPPOS_SUPPORT or PPPOE_SUPPORT turned on"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -1663,7 +1663,7 @@ pppInput(void *arg)
|
|||||||
|
|
||||||
switch(protocol) {
|
switch(protocol) {
|
||||||
case PPP_VJC_COMP: /* VJ compressed TCP */
|
case PPP_VJC_COMP: /* VJ compressed TCP */
|
||||||
#if PPPOS_SUPPRORT && VJ_SUPPORT
|
#if PPPOS_SUPPORT && VJ_SUPPORT
|
||||||
PPPDEBUG((LOG_INFO, "pppInput[%d]: vj_comp in pbuf len=%d\n", pd, nb->len));
|
PPPDEBUG((LOG_INFO, "pppInput[%d]: vj_comp in pbuf len=%d\n", pd, nb->len));
|
||||||
/*
|
/*
|
||||||
* Clip off the VJ header and prepend the rebuilt TCP/IP header and
|
* Clip off the VJ header and prepend the rebuilt TCP/IP header and
|
||||||
@ -1675,14 +1675,14 @@ pppInput(void *arg)
|
|||||||
}
|
}
|
||||||
/* Something's wrong so drop it. */
|
/* Something's wrong so drop it. */
|
||||||
PPPDEBUG((LOG_WARNING, "pppInput[%d]: Dropping VJ compressed\n", pd));
|
PPPDEBUG((LOG_WARNING, "pppInput[%d]: Dropping VJ compressed\n", pd));
|
||||||
#else /* PPPOS_SUPPRORT && VJ_SUPPORT */
|
#else /* PPPOS_SUPPORT && VJ_SUPPORT */
|
||||||
/* No handler for this protocol so drop the packet. */
|
/* No handler for this protocol so drop the packet. */
|
||||||
PPPDEBUG((LOG_INFO, "pppInput[%d]: drop VJ Comp in %d:%s\n", pd, nb->len, nb->payload));
|
PPPDEBUG((LOG_INFO, "pppInput[%d]: drop VJ Comp in %d:%s\n", pd, nb->len, nb->payload));
|
||||||
#endif /* PPPOS_SUPPRORT && VJ_SUPPORT */
|
#endif /* PPPOS_SUPPORT && VJ_SUPPORT */
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case PPP_VJC_UNCOMP: /* VJ uncompressed TCP */
|
case PPP_VJC_UNCOMP: /* VJ uncompressed TCP */
|
||||||
#if PPPOS_SUPPRORT && VJ_SUPPORT
|
#if PPPOS_SUPPORT && VJ_SUPPORT
|
||||||
PPPDEBUG((LOG_INFO, "pppInput[%d]: vj_un in pbuf len=%d\n", pd, nb->len));
|
PPPDEBUG((LOG_INFO, "pppInput[%d]: vj_un in pbuf len=%d\n", pd, nb->len));
|
||||||
/*
|
/*
|
||||||
* Process the TCP/IP header for VJ header compression and then pass
|
* Process the TCP/IP header for VJ header compression and then pass
|
||||||
@ -1694,12 +1694,12 @@ pppInput(void *arg)
|
|||||||
}
|
}
|
||||||
/* Something's wrong so drop it. */
|
/* Something's wrong so drop it. */
|
||||||
PPPDEBUG((LOG_WARNING, "pppInput[%d]: Dropping VJ uncompressed\n", pd));
|
PPPDEBUG((LOG_WARNING, "pppInput[%d]: Dropping VJ uncompressed\n", pd));
|
||||||
#else /* PPPOS_SUPPRORT && VJ_SUPPORT */
|
#else /* PPPOS_SUPPORT && VJ_SUPPORT */
|
||||||
/* No handler for this protocol so drop the packet. */
|
/* No handler for this protocol so drop the packet. */
|
||||||
PPPDEBUG((LOG_INFO,
|
PPPDEBUG((LOG_INFO,
|
||||||
"pppInput[%d]: drop VJ UnComp in %d:.*H\n",
|
"pppInput[%d]: drop VJ UnComp in %d:.*H\n",
|
||||||
pd, nb->len, LWIP_MIN(nb->len * 2, 40), nb->payload));
|
pd, nb->len, LWIP_MIN(nb->len * 2, 40), nb->payload));
|
||||||
#endif /* PPPOS_SUPPRORT && VJ_SUPPORT */
|
#endif /* PPPOS_SUPPORT && VJ_SUPPORT */
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case PPP_IP: /* Internet Protocol */
|
case PPP_IP: /* Internet Protocol */
|
||||||
|
Loading…
Reference in New Issue
Block a user