+ //\r
+ // RFC 2132, Section 9.5 does not strictly state Bootfile name (option 67) is null \r
+ // terminated string. So force to append null terminated character at the end of string.\r
+ //\r
+ if (Options[PXEBC_DHCP4_TAG_INDEX_BOOTFILE] != NULL) {\r
+ Ptr8 = (UINT8*)&Options[PXEBC_DHCP4_TAG_INDEX_BOOTFILE]->Data[0];\r
+ Ptr8 += Options[PXEBC_DHCP4_TAG_INDEX_BOOTFILE]->Length;\r
+ *Ptr8 = '\0';\r
+ }\r