--- a/tcpiputils/dhcp/src/DHCPIP4Msg.cpp Tue Aug 31 16:45:15 2010 +0300
+++ b/tcpiputils/dhcp/src/DHCPIP4Msg.cpp Wed Sep 01 12:33:58 2010 +0100
@@ -368,6 +368,22 @@
return pNode != NULL;
}
+TBool COptionList::CopyDomainSearchL(HBufC8*& aBuf8) const
+/**
+ * Return a copy of the domain search list given in the message
+ *
+ * @param aBuf8 A descriptor for the domain search list to be written into
+ * @return TBool If the copy was successful or not
+ */
+ {
+ COptionNode* pNode = FindOption(EDHCPDomainSearch);
+ if (pNode)
+ {
+ pNode->CopyBodyToL(aBuf8);
+ }
+ return pNode != NULL;
+ }
+
CDHCPMessageHeaderIP4::CDHCPMessageHeaderIP4(HBufC8*& aMsg) :
CDHCPMessageHeader(&iXid, 4, aMsg), //| op (1) | htype (1) | hlen (1) | hops (1) |
iXid(&iSecs, 4), iSecs(&iFlags, 2), iFlags(&iCiaddr, 2),