2
0
mirror of https://github.com/xcat2/xNBA.git synced 2025-01-11 10:17:49 +00:00

Report our interface type as "gPXE" to avoid working around Etherboot

5.4 bugs when driving ourselves via UNDI.
This commit is contained in:
Michael Brown 2007-07-03 15:57:32 +01:00
parent 2dc8ed1eb8
commit 30a442aef8

View File

@ -480,7 +480,7 @@ PXENV_EXIT_t pxenv_undi_get_iface_info ( struct s_PXENV_UNDI_GET_IFACE_INFO
* Most PXE stacks seem to take this approach.
*/
snprintf ( ( char * ) undi_get_iface_info->IfaceType,
sizeof ( undi_get_iface_info->IfaceType ), "Etherboot" );
sizeof ( undi_get_iface_info->IfaceType ), "gPXE" );
undi_get_iface_info->LinkSpeed = 10000000; /* 10 Mbps */
undi_get_iface_info->ServiceFlags = 0;
memset ( undi_get_iface_info->Reserved, 0,