Changeset 3361 for pjproject/trunk/pjsip/src/pjsip/sip_util.c
- Timestamp:
- Nov 3, 2010 6:48:58 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_util.c
r3323 r3361 246 246 /* Add a blank Via header in the front of the message. */ 247 247 via = pjsip_via_hdr_create(tdata->pool); 248 via->rport_param = 0;248 via->rport_param = pjsip_cfg()->endpt.disable_rport ? -1 : 0; 249 249 pjsip_msg_insert_first_hdr(msg, (pjsip_hdr*)via); 250 250 … … 1180 1180 via->transport = pj_str(stateless_data->cur_transport->type_name); 1181 1181 via->sent_by = stateless_data->cur_transport->local_name; 1182 via->rport_param = 0;1182 via->rport_param = pjsip_cfg()->endpt.disable_rport ? -1 : 0; 1183 1183 1184 1184 pjsip_tx_data_invalidate_msg(tdata);
Note: See TracChangeset
for help on using the changeset viewer.