Changeset 235
- Timestamp:
- Feb 26, 2006 9:22:35 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_endpoint.c
r230 r235 675 675 } 676 676 local_addr = &rdata->tp_info.transport->local_name.host; 677 if (pj_strcmp(&rdata->msg_info.via->sent_by.host, local_addr) != 0) 677 678 if (pj_strcmp(&rdata->msg_info.via->sent_by.host, local_addr) != 0) { 679 680 /* The RFC says that we should drop response when sent-by 681 * address mismatch. But it could happen (e.g. with SER) when 682 * endpoint with private IP is sending request to public 683 * server. 684 678 685 mismatch = PJ_TRUE; 679 else if (port != rdata->tp_info.transport->local_name.port) { 686 687 */ 688 689 } else if (port != rdata->tp_info.transport->local_name.port) { 680 690 /* Port or address mismatch, we should discard response */ 681 691 /* But we saw one implementation (we don't want to name it to
Note: See TracChangeset
for help on using the changeset viewer.