Commit 6f464494 authored by Pekka Pessi's avatar Pekka Pessi

nua_stack.c: include Allow even in-dialog requests.

darcs-hash:20070411110653-65a35-fc81753d830dadde021bddebd3c3a4889cbf5860.gz
parent d44bc582
......@@ -2161,7 +2161,7 @@ int nua_client_request_sendmsg(nua_client_request_t *cr, msg_t *msg, sip_t *sip)
* are used: @Allow, @Supported, @Organization, and @UserAgent headers are
* added to the request if they are not already set.
*/
if (!sip->sip_allow && !ds->ds_route)
if (!sip->sip_allow)
sip_add_dup(msg, sip, (sip_header_t*)NH_PGET(nh, allow));
if (!sip->sip_supported && NH_PGET(nh, supported))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment