remove struct member wildcarded_req from struct mgcp_endpoint
The struct member bool wildcarded_req is no longer needed Change-Id: Iabd2df8f0f8fcce964af647e3a6d8e4c3006ab29 Related: SYS#5535changes/74/24974/3
parent
f486e741a4
commit
21dfeff8aa
|
@ -111,10 +111,6 @@ struct mgcp_endpoint {
|
|||
/*! Last MGCP response (in case re-transmission is required) */
|
||||
char *last_response;
|
||||
|
||||
/*! Memorize if this endpoint was choosen by the MGW (wildcarded, true)
|
||||
* or if the user has choosen the particular endpoint explicitly. */
|
||||
bool wildcarded_req;
|
||||
|
||||
/*! MGCP_X_OSMO_IGN_* flags from 'X-Osmo-IGN:' header */
|
||||
uint32_t x_osmo_ign;
|
||||
|
||||
|
|
|
@ -129,7 +129,6 @@ void mgcp_endp_release(struct mgcp_endpoint *endp)
|
|||
endp->local_options.string = NULL;
|
||||
talloc_free(endp->local_options.codec);
|
||||
endp->local_options.codec = NULL;
|
||||
endp->wildcarded_req = false;
|
||||
|
||||
if (endp->trunk->trunk_type == MGCP_TRUNK_E1)
|
||||
mgcp_e1_endp_release(endp);
|
||||
|
@ -271,7 +270,6 @@ struct mgcp_endpoint *mgcp_endp_by_name_trunk(int *cause, const char *epname,
|
|||
LOGPENDP(endp, DLMGCP, LOGL_DEBUG,
|
||||
"(trunk:%d) found free endpoint: %s\n",
|
||||
trunk->trunk_nr, endp->name);
|
||||
endp->wildcarded_req = true;
|
||||
return endp;
|
||||
}
|
||||
|
||||
|
@ -290,7 +288,6 @@ struct mgcp_endpoint *mgcp_endp_by_name_trunk(int *cause, const char *epname,
|
|||
LOGPENDP(endp, DLMGCP, LOGL_DEBUG,
|
||||
"(trunk:%d) found endpoint: %s\n",
|
||||
trunk->trunk_nr, endp->name);
|
||||
endp->wildcarded_req = false;
|
||||
return endp;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue