equal
deleted
inserted
replaced
121 TInt err = sock.GetOpt(KSoInetIfQueryByName, KSolInetIfQuery, |
121 TInt err = sock.GetOpt(KSoInetIfQueryByName, KSolInetIfQuery, |
122 ifQueryPkg); |
122 ifQueryPkg); |
123 |
123 |
124 if ((err == KErrNone) && (ifQuery.iZone[1] == activeIapId)) |
124 if ((err == KErrNone) && (ifQuery.iZone[1] == activeIapId)) |
125 { |
125 { |
126 TUint32 t5 = (TUint32)(ifQuery.iZone[15]); |
126 //TUint32 t5 = (TUint32)(ifQuery.iZone[15]); |
127 ILOG2(ESOCKET, "Network id = %d, IAP id = %d ", t5, |
127 ILOG2(ESOCKET, "Network id = %d, IAP id = %d ",(TUint32)(ifQuery.iZone[15]),(TUint32)ifQuery.iZone[1]); |
128 ifQuery.iZone[1]); |
128 |
129 // IAP ID is index 1 of iZone |
129 // IAP ID is index 1 of iZone |
130 // We have found an interface using the IAP we are interested in. |
130 // We have found an interface using the IAP we are interested in. |
131 if (ifInfo.iAddress.Address() > 0) |
131 if (ifInfo.iAddress.Address() > 0) |
132 if (!ifInfo.iAddress.IsUnspecified() |
132 if (!ifInfo.iAddress.IsUnspecified() |
133 && !ifInfo.iAddress.IsLoopback() |
133 && !ifInfo.iAddress.IsLoopback() |