mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-15 13:41:33 +01:00
identification: fix network device detection
This commit is contained in:
parent
bbd4c1315e
commit
98bf05b948
@ -206,8 +206,8 @@ qboolean ID_ValidateNetDevice( const char *dev )
|
||||
int assignType;
|
||||
|
||||
// These devices are fake, their mac address is generated each boot, while assign_type is 0
|
||||
if( Q_strnicmp( dev, "ccmni", sizeof( "ccmni" ) ) ||
|
||||
Q_strnicmp( dev, "ifb", sizeof( "ifb" ) ) )
|
||||
if( !Q_strnicmp( dev, "ccmni", sizeof( "ccmni" ) ) ||
|
||||
!Q_strnicmp( dev, "ifb", sizeof( "ifb" ) ) )
|
||||
return false;
|
||||
|
||||
pfile = FS_LoadDirectFile( va( "%s/%s/addr_assign_type", prefix, dev ), NULL );
|
||||
|
Loading…
Reference in New Issue
Block a user