- Timestamp:
- Apr 20, 2007 2:06:54 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/Etherboot-src/core/nic.c
r1 r2275 1002 1002 return 0; 1003 1003 #ifdef PXE_DHCP_STRICT 1004 #ifndef VBOX /* Disabled, but it would never be active, as we don't use 4011 as source port. */1005 1004 /* in principle one could check here: 1006 1005 * … … 1019 1018 return 1; 1020 1019 } 1021 #endif /* !VBOX */1022 1020 #endif /* PXE_DHCP_STRICT */ 1023 1021 #ifndef VBOX /* This fails for an ACK from a DHCP server that doesn't know the next server IP address. Annoying, as this is the default for DHCP with RIS ProxyDHCP. */ … … 1896 1894 pxe_boot_menu[i].id = item; 1897 1895 } 1896 #ifndef VBOX 1898 1897 memcpy(&pxe_boot_menu[i].ip, p + 3, sizeof(in_addr)); 1898 #else /* VBOX */ 1899 if (*(p + 2) > 0) 1900 memcpy(&pxe_boot_menu[i].ip, p + 3, sizeof(in_addr)); 1901 else 1902 pxe_boot_menu[i].ip.s_addr = arptable[ARP_SERVER].ipaddr.s_addr; 1903 #endif /* VBOX */ 1899 1904 } 1900 1905
Note:
See TracChangeset
for help on using the changeset viewer.