|
@@ -361,8 +361,8 @@ static void dhcp_discovery_rx ( struct dhcp_session *dhcp,
|
361
|
361
|
has_pxeclient = ( ( vci_len >= ( int ) sizeof ( vci ) ) &&
|
362
|
362
|
( strncmp ( "PXEClient", vci, sizeof (vci) ) == 0 ));
|
363
|
363
|
|
364
|
|
- /* Identify presence of vendor-specific options */
|
365
|
|
- pxeopts_len = dhcppkt_fetch ( dhcppkt, DHCP_VENDOR_ENCAP, NULL, 0 );
|
|
364
|
+ /* Identify presence of PXE-specific options */
|
|
365
|
+ pxeopts_len = dhcppkt_fetch ( dhcppkt, DHCP_PXE_BOOT_MENU, NULL, 0 );
|
366
|
366
|
has_pxeopts = ( pxeopts_len >= 0 );
|
367
|
367
|
if ( has_pxeclient )
|
368
|
368
|
DBGC ( dhcp, "%s", ( has_pxeopts ? " pxe" : " proxy" ) );
|