CVSROOT: /cvs Module name: src Changes by: patr...@cvs.openbsd.org 2019/08/20 17:38:19
Modified files: sys/arch/amd64/stand/efi32: efipxe.c sys/arch/amd64/stand/efi64: efipxe.c sys/arch/amd64/stand/efiboot: efipxe.c sys/arch/arm64/stand/efiboot: efipxe.c sys/arch/armv7/stand/efiboot: efipxe.c Log message: Network-based device paths use Messaging and not Media types. Thus in reality the depth was always -1 which made the compare function a No-Op. Properly check the device path depth value and look for the Messaging type instead to find the correct NIC. This check never worked before and was uncovered by the last change. Regression noticed by bluhm@