ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/ether_unix.cpp
(Generate patch)

Comparing BasiliskII/src/Unix/ether_unix.cpp (file contents):
Revision 1.21 by gbeauche, 2005-05-21T17:48:21Z vs.
Revision 1.22 by gbeauche, 2005-06-12T22:48:48Z

# Line 224 | Line 224 | bool ether_init(void)
224   #ifdef HAVE_SLIRP
225          // Initialize slirp library
226          if (net_if_type == NET_IF_SLIRP) {
227 <                slirp_init();
227 >                if (slirp_init() < 0) {
228 >                        sprintf(str, GetString(STR_SLIRP_NO_DNS_FOUND_WARN));
229 >                        WarningAlert(str);
230 >                        return false;
231 >                }
232  
233                  // Open slirp output pipe
234                  int fds[2];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines