Index: sys/boot/efi/libefi/efinet.c =================================================================== --- sys/boot/efi/libefi/efinet.c +++ sys/boot/efi/libefi/efinet.c @@ -101,7 +101,7 @@ { struct devdesc *dev = machdep_hint; - if (dev->d_unit - 1 == nif->nif_unit) + if (dev->d_unit == nif->nif_unit) return (1); return(0); } @@ -311,6 +311,7 @@ if (status != EFI_SUCCESS) { printf("Unable to open network interface %d for " "exclusive access\n", i); + continue; } dif->dif_unit = i;