mirror of
https://github.com/Interlisp/maiko.git
synced 2026-02-22 07:07:53 +00:00
Cleanup USE_DPLI usage (#378)
Until now, the only differentiation between using DLPI and using NIT for the ethernet interface was expressed as a function of USE_DLPI. This commit makes explicit when code is for the DLPI interface or the NIT interface, with USE_DLPI and USE_NIT. This is setup for using the BPF interface to the ethernet as an alternative.
This commit is contained in:
@@ -1083,7 +1083,7 @@ int device_after_raid() {
|
||||
|
||||
#ifdef MAIKO_ENABLE_ETHERNET
|
||||
init_ether();
|
||||
#ifdef USE_DLPI
|
||||
#if defined(USE_DLPI)
|
||||
if (ether_fd > 0)
|
||||
if (ioctl(ether_fd, I_SETSIG, S_INPUT) != 0) {
|
||||
perror("after-uraid: I_SETSIG for ether failed:\n");
|
||||
|
||||
Reference in New Issue
Block a user