networkprotocols/dnsproxy/test/src/t_dnsproxymain.cpp
changeset 51 78fceed50f62
parent 0 af10295192d8
child 58 8d540f55e491
child 71 a800ea6cb454
--- a/networkprotocols/dnsproxy/test/src/t_dnsproxymain.cpp	Tue Jul 06 16:04:34 2010 +0300
+++ b/networkprotocols/dnsproxy/test/src/t_dnsproxymain.cpp	Wed Aug 18 11:18:20 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -168,9 +168,7 @@
 		ERR_PRINTF2(_L("<font color=FF0000>No parameter %S</font>"), &KUSEIAP());
 		SetBlockResult(EFail);
 		}
-		
-		
-	_LIT(KTestCaseName,"eth");	
+
 
 	TBuf8<256> name8;
 	name8.Copy(pname16);
@@ -244,11 +242,17 @@
 			}
 		iUseNapt = ETrue;	
 
+#ifdef SIROCCO_CODE_MIGRATION
+	_LIT(KInterfaceName,"wlan");
+	_LIT(KInterfaceName2,"wlan");
+#else
+	_LIT(KInterfaceName,"eth");
+	_LIT(KInterfaceName2,"eth");
+#endif
+
    		RSocket sock;
    		sock.Open(iSs,KAfInet, KSockDatagram, KProtocolInetUdp);     	
-   		_LIT(KInterfaceName,"eth");
    		TUint32 testaddr = GetInterfaceAddress(sock,KInterfaceName());
-   		_LIT(KInterfaceName2,"eth");
    		TUint32 ifindex = GetInterfaceIndex(sock, KInterfaceName2());
      	sock.Close();
      	     
@@ -775,11 +779,17 @@
 			}
 		iUseNapt = ETrue;	
 
+#ifdef SIROCCO_CODE_MIGRATION
+	_LIT(KInterfaceName,"wlan");
+	_LIT(KInterfaceName2,"wlan");
+#else
+	_LIT(KInterfaceName,"eth");
+	_LIT(KInterfaceName2,"eth");
+#endif
+
    		RSocket sock;
    		sock.Open(iSs,KAfInet, KSockDatagram, KProtocolInetUdp);     	
-   		_LIT(KInterfaceName,"eth");
    		TUint32 testaddr = GetInterfaceAddress(sock,KInterfaceName());
-   		_LIT(KInterfaceName2,"eth");
    		TUint32 ifindex = GetInterfaceIndex(sock, KInterfaceName2());
      	sock.Close();