mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00: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;
|
int assignType;
|
||||||
|
|
||||||
// These devices are fake, their mac address is generated each boot, while assign_type is 0
|
// These devices are fake, their mac address is generated each boot, while assign_type is 0
|
||||||
if( Q_strnicmp( dev, "ccmni", sizeof( "ccmni" ) ) ||
|
if( !Q_strnicmp( dev, "ccmni", sizeof( "ccmni" ) ) ||
|
||||||
Q_strnicmp( dev, "ifb", sizeof( "ifb" ) ) )
|
!Q_strnicmp( dev, "ifb", sizeof( "ifb" ) ) )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
pfile = FS_LoadDirectFile( va( "%s/%s/addr_assign_type", prefix, dev ), NULL );
|
pfile = FS_LoadDirectFile( va( "%s/%s/addr_assign_type", prefix, dev ), NULL );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user