vpnengine/vpnipsecpolparser/src/ipsecpolparser.cpp
branchRCL_3
changeset 41 e06095241a65
parent 40 473321461bba
equal deleted inserted replaced
40:473321461bba 41:e06095241a65
     1 /*
     1 /*
     2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2002-2005 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
  2052         LOG_("Instantiating new policy list\n");
  2052         LOG_("Instantiating new policy list\n");
  2053         iPolicyList = new (ELeave) CSecPolBundleList(fqdnCount);
  2053         iPolicyList = new (ELeave) CSecPolBundleList(fqdnCount);
  2054 
  2054 
  2055         LOG_("Querying DNS tasks\n");
  2055         LOG_("Querying DNS tasks\n");
  2056 
  2056 
  2057         iPolicies->GetFQDNAddressListL(*iPolicyList);
  2057         if (iPolicies != NULL) 
  2058         }
  2058             {
  2059     LOG_("CIpSecurityPiece::GetFQDNAddressListL() exit\n");
  2059             iPolicies->GetFQDNAddressListL(*iPolicyList);
       
  2060             }
       
  2061         else 
       
  2062             {
       
  2063             LOG_("No ipsec policies!\n");
       
  2064             }
       
  2065         LOG_("CIpSecurityPiece::GetFQDNAddressListL() exit\n");
       
  2066         }
  2060     return iPolicyList;
  2067     return iPolicyList;
  2061     }
  2068     }