mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-29 04:51:28 +00:00
Do not attempt to use ether_fd as valid fd if it is -1. Closes medley #450
This commit is contained in:
@@ -979,7 +979,7 @@ int device_after_raid() {
|
||||
|
||||
|
||||
#ifdef MAIKO_ENABLE_ETHERNET
|
||||
FD_SET(ether_fd, &LispReadFds);
|
||||
if (ether_fd > 0) FD_SET(ether_fd, &LispReadFds);
|
||||
#endif /* MAIKO_ENABLE_ETHERNET */
|
||||
|
||||
#ifdef XWINDOW
|
||||
|
||||
Reference in New Issue
Block a user