Ver código fonte

[pxe] Fix interoperability with the Symantec (undipd) DOS UNDI driver

The Symantec UNDI DOS driver fails when run on top of gPXE because we
return our interface type as "gPXE" rather than one of the predefined
NDIS interface type strings.

Fix by returning the standard "DIX+802.3" string; this isn't
necessarily always accurate, but it's highly unlikely that anything
trying to use the UNDI API would understand our IPoIB link-layer
pseudo-header anyway.
tags/v0.9.8
Michael Brown 15 anos atrás
pai
commit
4fe1e08a60
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      src/arch/i386/interface/pxe/pxe_undi.c

+ 1
- 1
src/arch/i386/interface/pxe/pxe_undi.c Ver arquivo

532
 	 * Most PXE stacks seem to take this approach.
532
 	 * Most PXE stacks seem to take this approach.
533
 	 */
533
 	 */
534
 	snprintf ( ( char * ) undi_get_iface_info->IfaceType,
534
 	snprintf ( ( char * ) undi_get_iface_info->IfaceType,
535
-		   sizeof ( undi_get_iface_info->IfaceType ), "gPXE" );
535
+		   sizeof ( undi_get_iface_info->IfaceType ), "DIX+802.3" );
536
 	undi_get_iface_info->LinkSpeed = 10000000; /* 10 Mbps */
536
 	undi_get_iface_info->LinkSpeed = 10000000; /* 10 Mbps */
537
 	undi_get_iface_info->ServiceFlags =
537
 	undi_get_iface_info->ServiceFlags =
538
 		( SUPPORTED_BROADCAST | SUPPORTED_MULTICAST |
538
 		( SUPPORTED_BROADCAST | SUPPORTED_MULTICAST |

Carregando…
Cancelar
Salvar