/[resiprocate]/main/resip/dum/test/basicClientUserAgent.cxx
ViewVC logotype

Diff of /main/resip/dum/test/basicClientUserAgent.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 9093 by sgodin, Thu Mar 31 20:02:48 2011 UTC revision 9119 by bcampen, Mon Apr 25 17:43:24 2011 UTC
# Line 373  Line 373 
373  {  {
374     if(port == 0) return;  // Transport disabled     if(port == 0) return;  // Transport disabled
375    
376     for (; port < port+10; ++port)     for (int i=0; i < 10; ++i)
377     {     {
378        try        try
379        {        {
380           if (!mNoV4)           if (!mNoV4)
381           {           {
382              mStack.addTransport(type, port, V4, StunEnabled, Data::Empty, mTlsDomain);              mStack.addTransport(type, port+i, V4, StunEnabled, Data::Empty, mTlsDomain);
383              return;              return;
384           }           }
385    
386           if (mEnableV6)           if (mEnableV6)
387           {           {
388              mStack.addTransport(type, port, V6, StunEnabled, Data::Empty, mTlsDomain);              mStack.addTransport(type, port+i, V6, StunEnabled, Data::Empty, mTlsDomain);
389              return;              return;
390           }           }
391        }        }

Legend:
Removed from v.9093  
changed lines
  Added in v.9119

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27