forked from Mirrors/sngrep
src/sip.c: removed not used vairables
This commit is contained in:
parent
4b932edb56
commit
45fe35d29a
|
@ -328,7 +328,6 @@ sip_check_packet(packet_t *packet)
|
||||||
sip_msg_t *msg;
|
sip_msg_t *msg;
|
||||||
sip_call_t *call;
|
sip_call_t *call;
|
||||||
char callid[1024], xcallid[1024];
|
char callid[1024], xcallid[1024];
|
||||||
address_t src, dst;
|
|
||||||
u_char payload[MAX_SIP_PAYLOAD];
|
u_char payload[MAX_SIP_PAYLOAD];
|
||||||
bool newcall = false;
|
bool newcall = false;
|
||||||
|
|
||||||
|
@ -336,10 +335,6 @@ sip_check_packet(packet_t *packet)
|
||||||
if (packet->payload_len > MAX_SIP_PAYLOAD)
|
if (packet->payload_len > MAX_SIP_PAYLOAD)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
// Get Addresses from packet
|
|
||||||
src = packet->src;
|
|
||||||
dst = packet->dst;
|
|
||||||
|
|
||||||
// Initialize local variables
|
// Initialize local variables
|
||||||
memset(callid, 0, sizeof(callid));
|
memset(callid, 0, sizeof(callid));
|
||||||
memset(xcallid, 0, sizeof(xcallid));
|
memset(xcallid, 0, sizeof(xcallid));
|
||||||
|
|
Loading…
Reference in New Issue