fix missing break in ipxparse NCP handler
This commit is contained in:
@@ -328,6 +328,11 @@ handle_burst(struct sockaddr_ipx *source,
|
||||
struct sockaddr_ipx *target,
|
||||
unsigned char *buf, int length, int no)
|
||||
{
|
||||
(void)source;
|
||||
(void)target;
|
||||
(void)length;
|
||||
(void)no;
|
||||
|
||||
struct ncp_burst_header *rq = (struct ncp_burst_header *) buf;
|
||||
|
||||
if (rq->type != NCP_BURST_PACKET)
|
||||
@@ -377,6 +382,8 @@ handle_ncp(struct sockaddr_ipx *source,
|
||||
struct sockaddr_ipx *target,
|
||||
unsigned char *buf, int length, int no)
|
||||
{
|
||||
(void)no;
|
||||
|
||||
struct ncp_request_header *rq = (struct ncp_request_header *) buf;
|
||||
struct ncp_reply_header *rs = (struct ncp_reply_header *) buf;
|
||||
unsigned char *data = NULL;
|
||||
@@ -975,6 +982,8 @@ handle_ncp(struct sockaddr_ipx *source,
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
printf("fn: %-3d\n", rq->function);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user