ソースを参照

[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年前
コミット
4fe1e08a60
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      src/arch/i386/interface/pxe/pxe_undi.c

+ 1
- 1
src/arch/i386/interface/pxe/pxe_undi.c ファイルの表示

@@ -532,7 +532,7 @@ PXENV_EXIT_t pxenv_undi_get_iface_info ( struct s_PXENV_UNDI_GET_IFACE_INFO
532 532
 	 * Most PXE stacks seem to take this approach.
533 533
 	 */
534 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 536
 	undi_get_iface_info->LinkSpeed = 10000000; /* 10 Mbps */
537 537
 	undi_get_iface_info->ServiceFlags =
538 538
 		( SUPPORTED_BROADCAST | SUPPORTED_MULTICAST |

読み込み中…
キャンセル
保存