Browse Source

identification: fix network device detection

pull/2/head
mittorn 6 years ago
parent
commit
98bf05b948
  1. 4
      engine/common/identification.c

4
engine/common/identification.c

@ -206,8 +206,8 @@ qboolean ID_ValidateNetDevice( const char *dev ) @@ -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…
Cancel
Save