- Timestamp:
- Aug 7, 2009, 2:10:14 PM (15 years ago)
- Location:
- source/ariba
- Files:
-
- 2 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 -
source/ariba/SideportListener.h
r5436 r5786 166 166 rfcomm = 0x1, 167 167 ipv4 = 0x2, 168 ipv6 = 0x4, 169 udp = 0x8, 170 tcp = 0x16, 168 ipv6 = 0x3 171 169 }; 172 170
Note:
See TracChangeset
for help on using the changeset viewer.