Fix from_any_gw() handling to allow "ANY" protocol.

remotes/origin/3.3+ngcp2.6
Andreas Granig 13 years ago
parent e6ced81bb3
commit b54412b399

@ -2309,9 +2309,8 @@ static int do_from_gw(struct sip_msg* _m, unsigned int lcr_id,
/* Store tag and flags and return result */
if ((res != NULL) &&
((res->transport == transport) ||
((res->transport == PROTO_NONE) && (transport == PROTO_UDP)))) {
LM_DBG("request game from gw\n");
((transport == PROTO_NONE) || (res->transport == transport))) {
LM_DBG("request came from gw\n");
if (tag_avp_param) {
val.s.s = res->tag;
val.s.len = res->tag_len;

Loading…
Cancel
Save