Changeset 5786 for source/ariba/SideportListener.cpp
- Timestamp:
- Aug 7, 2009, 2:10:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/SideportListener.cpp
r5785 r5786 122 122 123 123 if( locator->instanceof<tcpip_endpoint>() ){ 124 125 124 tcpip_endpoint tcpip = *locator; 126 ret |= SideportListener::tcp;127 125 128 126 if( tcpip.address().is_v4() || tcpip.address().is_v4_mapped() ){ 129 ret |= SideportListener::ipv4;127 ret = SideportListener::ipv4; 130 128 }else if( tcpip.address().is_v6() ){ 131 ret |= SideportListener::ipv6; 132 cout << "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx is v6" << std::endl; 129 ret = SideportListener::ipv6; 133 130 } 134 131 135 132 }else if( locator->instanceof<rfcomm_endpoint>() ){ 136 ret |= SideportListener::rfcomm;133 ret = SideportListener::rfcomm; 137 134 } 138 135
Note:
See TracChangeset
for help on using the changeset viewer.