Ignore:
Timestamp:
Aug 7, 2009, 2:10:14 PM (15 years ago)
Author:
Christoph Mayer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/SideportListener.cpp

    r5785 r5786  
    122122
    123123        if( locator->instanceof<tcpip_endpoint>() ){
    124 
    125124                tcpip_endpoint tcpip = *locator;
    126                 ret |= SideportListener::tcp;
    127125
    128126                if( tcpip.address().is_v4() || tcpip.address().is_v4_mapped() ){
    129                         ret |= SideportListener::ipv4;
     127                        ret = SideportListener::ipv4;
    130128                }else if( tcpip.address().is_v6() ){
    131                         ret |= SideportListener::ipv6;
    132                         cout << "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx is v6" << std::endl;
     129                        ret = SideportListener::ipv6;
    133130                }
    134131
    135132        }else if( locator->instanceof<rfcomm_endpoint>() ){
    136                 ret |= SideportListener::rfcomm;
     133                ret = SideportListener::rfcomm;
    137134        }
    138135
Note: See TracChangeset for help on using the changeset viewer.