mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-05 22:29:49 +00:00
PPP, CCP, updated ccp_printpkt() prototype to match other *_printpkt()
This commit is contained in:
parent
151995f88c
commit
90bbcbf994
@ -176,9 +176,7 @@ static void ccp_lowerdown(ppp_pcb *pcb);
|
|||||||
static void ccp_input(ppp_pcb *pcb, u_char *pkt, int len);
|
static void ccp_input(ppp_pcb *pcb, u_char *pkt, int len);
|
||||||
static void ccp_protrej(ppp_pcb *pcb);
|
static void ccp_protrej(ppp_pcb *pcb);
|
||||||
#if PRINTPKT_SUPPORT
|
#if PRINTPKT_SUPPORT
|
||||||
static int ccp_printpkt (u_char *pkt, int len,
|
static int ccp_printpkt(u_char *p, int plen, void (*printer) (void *, const char *, ...), void *arg);
|
||||||
void (*printer) (void *, char *, ...),
|
|
||||||
void *arg);
|
|
||||||
#endif /* PRINTPKT_SUPPORT */
|
#endif /* PRINTPKT_SUPPORT */
|
||||||
static void ccp_datainput(ppp_pcb *pcb, u_char *pkt, int len);
|
static void ccp_datainput(ppp_pcb *pcb, u_char *pkt, int len);
|
||||||
|
|
||||||
@ -1449,7 +1447,7 @@ static char *ccp_codenames[] = {
|
|||||||
"ResetReq", "ResetAck",
|
"ResetReq", "ResetAck",
|
||||||
};
|
};
|
||||||
|
|
||||||
static int ccp_printpkt(u_char *p, u_char plen, void (*printer) (void *, char *, ...), void *arg) {
|
static int ccp_printpkt(u_char *p, int plen, void (*printer) (void *, const char *, ...), void *arg) {
|
||||||
u_char *p0, *optend;
|
u_char *p0, *optend;
|
||||||
int code, id, len;
|
int code, id, len;
|
||||||
int optlen;
|
int optlen;
|
||||||
|
Loading…
Reference in New Issue
Block a user