Increase buffer size for routing headers. When routing with enc.keys within

route headers, we're reaching the limimt for what's possible in one UDP packet...



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36839 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Olle Johansson 2006-07-03 15:10:22 +00:00
parent a58afaa03b
commit c6ab7e7164
1 changed files with 1 additions and 1 deletions

View File

@ -5149,7 +5149,7 @@ static int copy_via_headers(struct sip_pvt *p, struct sip_request *req, const st
/*! \brief Add route header into request per learned route */
static void add_route(struct sip_request *req, struct sip_route *route)
{
char r[BUFSIZ], *p;
char r[BUFSIZ*2], *p;
int n, rem = sizeof(r);
if (!route)