miniupnpd/pcpserver.c: fix ProcessPCPRequest()

fix commit 620af3737c8beffe87e08b7e0c34ab1661251695
This commit is contained in:
Thomas Bernard 2014-05-15 10:57:10 +02:00
parent 3f9000db76
commit ba97c9b238
1 changed files with 1 additions and 1 deletions

View File

@ -1195,7 +1195,7 @@ static int processPCPRequest(void * req, int req_size, pcp_info_t *pcp_msg_info)
pcp_msg_info->result_code = PCP_ERR_MALFORMED_REQUEST;
return pcp_msg_info->result_code;
}
peer_v1 = (pcp_peer_v1_t*)(req + processedSize);
peer_v1 = (pcp_peer_v1_t*)req;
#ifdef DEBUG
printPEEROpcodeVersion1(peer_v1);