Changeset 6829 for source/ariba/utility/addressing/endpoint_set.hpp
- Timestamp:
- Nov 4, 2009, 4:27:19 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/addressing/endpoint_set.hpp
r5406 r6829 161 161 enum layers { 162 162 Layer1 = 1, Layer2 = 2, Layer3 = 4, Layer4 = 8, Layer5 = 16, 163 Layer6 = 32, Layer7 = 64, Layer8 = 128, AllLayers = ~0,163 Layer6 = 32, Layer7 = 64, Layer8 = 128, NoLoopback = 256,AllLayers = ~0, 164 164 Layer1_3 = Layer1|Layer2|Layer3, 165 165 Layer1_4 = Layer1|Layer2|Layer3|Layer4, … … 192 192 if ( address->instanceof<ip_address>() ) { 193 193 const ip_address& addr = *address; 194 if (layers & Layer3) ip.insert( addr ); 194 if ((layers & Layer3) && !(layers & NoLoopback) && addr.is_loopback()) 195 ip.insert( addr ); 195 196 } else 196 197 if (address->instanceof<rfcomm_endpoint>() ) {
Note:
See TracChangeset
for help on using the changeset viewer.