mirror of
https://github.com/akuker/RASCSI.git
synced 2025-08-05 01:27:46 +00:00
Added special rule for testing on x86 PCs
This commit is contained in:
@@ -80,8 +80,12 @@ bool SCSIDaynaPort::Init(const string& interfaces)
|
|||||||
m_bTapEnable = m_tap->Init();
|
m_bTapEnable = m_tap->Init();
|
||||||
if(!m_bTapEnable){
|
if(!m_bTapEnable){
|
||||||
LOGERROR("Unable to open the TAP interface");
|
LOGERROR("Unable to open the TAP interface");
|
||||||
|
|
||||||
|
// Not terminating on regular Linux PCs is helpful for testing
|
||||||
|
#if !defined(__x86_64__) && !defined(__X86__)
|
||||||
return false;
|
return false;
|
||||||
}else {
|
#endif
|
||||||
|
} else {
|
||||||
LOGDEBUG("Tap interface created");
|
LOGDEBUG("Tap interface created");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user